@clevertask/scribe 0.1.5 → 0.1.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/README.md CHANGED
@@ -186,6 +186,7 @@ If your content arrives as HTML (for example from a server), use the helper belo
186
186
  | `editable` | `boolean` | `true` | Controls whether the editor is editable. |
187
187
  | `autoFocus` | `boolean` | `false` | Controls whether the editor should automatically focus when mounted. |
188
188
  | `extensions` | `Extension[]` | `undefined` | You can set your own extensions for the text editor. For more information, [check the tip tap extensions docs](https://tiptap.dev/docs/editor/core-concepts/extensions) |
189
+ | `externalEditor` | `Editor` | `undefined` | Uses a caller-owned Tiptap editor. Scribe attaches the editor but does not destroy it. The caller remains responsible for destroying it. |
189
190
  | `editorProps` | `EditorProps` | `undefined` | A tiptap-based prop to handle advanced use cases, you can read about it on their [documentation](https://tiptap.dev/docs/editor/api/editor#editorprops) |
190
191
  | `showBarMenu` | `boolean` | `true` | Determines whether to show the text editor top menu bar or not. This menu bar shows options to format the text |
191
192
  | `placeholderText` | `string` | `Type "/" for commands...` | Change the initial placeholder for your text editor |
@@ -1,4 +1,4 @@
1
- import { i as e } from "./dist-RuuEA1GJ.js";
1
+ import { a as e } from "./dist-DT3iiwSr.js";
2
2
  import { getPopupMountTarget as t } from "./components/Scribe/extension/getPopupMountTarget.js";
3
3
  import n from "./components/Menu/LinkEditor.js";
4
4
  import { hideLinkBubbleMenu as r } from "./components/Menu/linkBubbleMenuPlugin.js";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../BarMenu-V1uRL3bt.js";
1
+ import { t as e } from "../../BarMenu-DC-S5Ggq.js";
2
2
  export { e as default };
@@ -1,6 +1,6 @@
1
- import { i as e } from "../../dist-RuuEA1GJ.js";
1
+ import { a as e } from "../../dist-DT3iiwSr.js";
2
2
  import { getPopupMountTarget as t } from "../Scribe/extension/getPopupMountTarget.js";
3
- import { t as n } from "../../menus-CzX7kyXn.js";
3
+ import { t as n } from "../../menus-CrKTaPWU.js";
4
4
  import { Flex as r, IconButton as i } from "@radix-ui/themes";
5
5
  import { useCallback as a } from "react";
6
6
  import { jsx as o } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
- import { i as e } from "../../dist-RuuEA1GJ.js";
1
+ import { a as e } from "../../dist-DT3iiwSr.js";
2
2
  import { getPopupMountTarget as t } from "../Scribe/extension/getPopupMountTarget.js";
3
3
  import n from "./LinkEditor.js";
4
4
  import { hideLinkBubbleMenu as r, linkBubbleMenuPluginKey as i } from "./linkBubbleMenuPlugin.js";
5
- import { t as a } from "../../menus-CzX7kyXn.js";
5
+ import { t as a } from "../../menus-CrKTaPWU.js";
6
6
  import { Box as o } from "@radix-ui/themes";
7
7
  import { useCallback as s, useEffect as c, useMemo as l, useRef as u, useState as d } from "react";
8
8
  import { jsx as f } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { i as e } from "../../../dist-RuuEA1GJ.js";
1
+ import { a as e } from "../../../dist-DT3iiwSr.js";
2
2
  import { Button as t, Flex as n } from "@radix-ui/themes";
3
3
  import { useCallback as r } from "react";
4
4
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { n as e } from "../../../../dist-RuuEA1GJ.js";
1
+ import { n as e } from "../../../../dist-DT3iiwSr.js";
2
2
  import { getPopupMountTarget as t } from "../getPopupMountTarget.js";
3
3
  import { t as n } from "../../../../tippy.esm-D9LL2xiE.js";
4
4
  import { EmojiList as r } from "./EmojiList.js";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../../../rolldown-runtime-B8UxIWdF.js";
1
+ import { t as e } from "../../../../rolldown-runtime-CtkjhSXr.js";
2
2
  import { Box as t, ScrollArea as n, Text as r } from "@radix-ui/themes";
3
3
  import { forwardRef as i, useCallback as a, useImperativeHandle as o, useState as s } from "react";
4
4
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { n as e } from "../../../../dist-RuuEA1GJ.js";
1
+ import { n as e } from "../../../../dist-DT3iiwSr.js";
2
2
  import { getPopupMountTarget as t } from "../getPopupMountTarget.js";
3
3
  import { t as n } from "../../../../tippy.esm-D9LL2xiE.js";
4
4
  import { SlashCommandList as r } from "./SlashCommandList.js";
@@ -31,6 +31,10 @@ export interface ScribeProps {
31
31
  editable?: boolean;
32
32
  autoFocus?: boolean;
33
33
  extensions?: Extension[];
34
+ /**
35
+ * A caller-owned editor. Scribe attaches it without taking responsibility
36
+ * for destroying it.
37
+ */
34
38
  externalEditor?: Editor;
35
39
  editorProps?: UseEditorOptions;
36
40
  showBarMenu?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Scribe/index.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAG9B,OAAO,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAC;AAGxC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAE1E,OAAO,KAAK,EACV,kCAAkC,EAElC,iCAAiC,EAClC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,OAAO,EACP,MAAM,EAGN,SAAS,EACT,WAAW,EACX,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,oBAAoB,EAMrB,MAAM,OAAO,CAAC;AAGf,YAAY,EACV,yBAAyB,EACzB,mBAAmB,EACnB,yBAAyB,EACzB,8BAA8B,EAC9B,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,YAAY,EACV,kCAAkC,EAClC,yBAAyB,EACzB,iCAAiC,GAClC,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,GAAG,cAAc,CAAC;C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C,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAC5D;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IACzB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACzC,sBAAsB,CAAC,EAAE,UAAU,CAAC;IACpC,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACzC,sBAAsB,CAAC,EAAE,UAAU,CAAC;IACpC,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,YAAY,CAAC,EAAE,yBAAyB,CAAC;IACzC,sEAAsE;IACtE,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,mFAAmF;IACnF,uBAAuB,CAAC,EAAE,kCAAkC,CAAC;CAC9D;AAoQD,eAAO,MAAM,MAAM,mGAMlB,CAAC"}
@@ -1,6 +1,5 @@
1
- import { n as e, t } from "../../BarMenu-V1uRL3bt.js";
2
- import { t as n } from "../../dist-RuuEA1GJ.js";
3
- import { t as r } from "../../dist-BQjH-i-q.js";
1
+ import { n as e, t } from "../../BarMenu-DC-S5Ggq.js";
2
+ import { i as n, t as r } from "../../dist-DT3iiwSr.js";
4
3
  import i from "../Menu/LinkBubbleMenu.js";
5
4
  import { t as a } from "../../html-to-markdown-CrNOkSye.js";
6
5
  import { t as o } from "../../extension-CZOsheCI.js";
@@ -11,98 +10,90 @@ import { ListOptionBar as c } from "../Menu/Mobile/ListOptionBar.js";
11
10
  import { forwardRef as l, useCallback as u, useEffect as d, useImperativeHandle as f, useRef as p, useState as m } from "react";
12
11
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
13
12
  import '../../assets/index.css';//#region lib/components/Scribe/index.tsx
14
- var _ = l((s, l) => {
15
- let { autoFocus: _ = !1, content: v, editable: y = !0, editorProps: b, extensions: x, onContentChange: S, showBarMenu: C = !0, editorContentStyle: w, editorContentClassName: T, mainContainerStyle: E, mainContainerClassName: D, onKeyDown: O, externalEditor: k, mobile: A, onTableOfContentsChange: j } = s, M = p(!k && v !== void 0), N = p([]), P = p(j);
16
- d(() => {
17
- P.current = j;
18
- }, [j]);
19
- let F = u((e, t) => {
20
- N.current = e, P.current?.(e, t);
21
- }, []), I = u(({ editor: e, transaction: t }) => {
13
+ var _ = (e) => {
14
+ let t = p([]), n = p(e);
15
+ return d(() => {
16
+ n.current = e;
17
+ }, [e]), {
18
+ handleTableOfContentsChange: u((e, r) => {
19
+ t.current = e, n.current?.(e, r);
20
+ }, []),
21
+ tableOfContentsItemsRef: t
22
+ };
23
+ }, v = l((n, o) => {
24
+ let { autoFocus: s = !1, content: l, editable: m = !0, editor: _, initialContentWasApplied: v, onContentChange: y, showBarMenu: b = !0, editorContentStyle: x, editorContentClassName: S, mainContainerStyle: C, mainContainerClassName: w, onKeyDown: T, mobile: E, tableOfContentsItemsRef: D } = n, O = p(v && l !== void 0), k = u(({ editor: e, transaction: t }) => {
22
25
  if (t.getMeta("scribeTableOfContents")) return;
23
- let n = e.getHTML(), r = e.getJSON(), i = !y;
24
- S && S({
26
+ let n = e.getHTML(), r = e.getJSON(), i = !m;
27
+ y && y({
25
28
  jsonContent: e.isEmpty ? "" : r,
26
29
  htmlContent: e.isEmpty ? "" : n,
27
30
  markdownContent: e.isEmpty ? "" : a(n),
28
31
  source: i ? "programmatic" : "user"
29
32
  });
30
- }, [y, S]), [L] = m(() => k ?? new r({
31
- ...b,
32
- content: v ?? b?.content,
33
- editable: y,
34
- extensions: [...o({
35
- ...s,
36
- onTableOfContentsChange: F
37
- }), ...x ?? []],
38
- editorProps: {
39
- attributes: { class: "scribe" },
40
- ...b?.editorProps
41
- }
42
- })), R = u(() => {
43
- L.commands.setContent("");
44
- }, [L]), z = u((e) => L.isEmpty ? "" : {
45
- html: () => L.getHTML(),
46
- json: () => L.getJSON(),
47
- markdown: () => a(L.getHTML())
48
- }[e]?.(), [L]), B = u((e) => {
49
- L.commands.setContent(e);
50
- }, [L]), V = u((e) => {
51
- let t = typeof e == "string" ? e : e.id, n = N.current.find((e) => e.id === t) ?? (typeof e == "string" ? void 0 : e);
52
- if (!n || L.isDestroyed) return;
53
- let r = L.view.nodeDOM(n.pos), i = r instanceof HTMLElement ? r : n.dom;
54
- if (L.isEditable) {
55
- let e = Math.max(0, Math.min(n.pos + n.node.nodeSize - 1, L.state.doc.content.size));
56
- L.commands.focus(e, { scrollIntoView: !1 });
33
+ }, [m, y]), A = u(() => {
34
+ _.commands.setContent("");
35
+ }, [_]), j = u((e) => _.isEmpty ? "" : {
36
+ html: () => _.getHTML(),
37
+ json: () => _.getJSON(),
38
+ markdown: () => a(_.getHTML())
39
+ }[e]?.(), [_]), M = u((e) => {
40
+ _.commands.setContent(e);
41
+ }, [_]), N = u((e) => {
42
+ let t = typeof e == "string" ? e : e.id, n = D.current.find((e) => e.id === t) ?? (typeof e == "string" ? void 0 : e);
43
+ if (!n || _.isDestroyed) return;
44
+ let r = _.view.nodeDOM(n.pos), i = r instanceof HTMLElement ? r : n.dom;
45
+ if (_.isEditable) {
46
+ let e = Math.max(0, Math.min(n.pos + n.node.nodeSize - 1, _.state.doc.content.size));
47
+ _.commands.focus(e, { scrollIntoView: !1 });
57
48
  }
58
49
  i.scrollIntoView({
59
50
  behavior: "smooth",
60
51
  block: "start"
61
52
  });
62
- }, [L]);
63
- return f(l, () => ({
64
- resetContent: R,
65
- setContent: B,
66
- getContent: z,
67
- scrollToTableOfContentsItem: V,
68
- editor: L
53
+ }, [_, D]);
54
+ return f(o, () => ({
55
+ resetContent: A,
56
+ setContent: M,
57
+ getContent: j,
58
+ scrollToTableOfContentsItem: N,
59
+ editor: _
69
60
  }), [
70
- L,
71
- z,
72
- R,
73
- V,
74
- B
61
+ _,
62
+ j,
63
+ A,
64
+ N,
65
+ M
75
66
  ]), d(() => {
76
- if (v !== void 0) {
77
- if (M.current) {
78
- M.current = !1;
67
+ if (l !== void 0) {
68
+ if (O.current) {
69
+ O.current = !1;
79
70
  return;
80
71
  }
81
- L.commands.setContent(v, { emitUpdate: !1 });
72
+ _.commands.setContent(l, { emitUpdate: !1 });
82
73
  }
83
- }, [v, L]), d(() => {
84
- L.setEditable(!!y);
85
- }, [y, L]), d(() => (L.off("update"), L.on("update", I), () => {
86
- L.off("update", I);
87
- }), [L, I]), d(() => {
88
- _ && L.commands.focus("end");
89
- }, [_, L]), /* @__PURE__ */ g("div", {
90
- className: e("scribe-wrapper", "scribe-root", D),
74
+ }, [l, _]), d(() => {
75
+ _.setEditable(!!m);
76
+ }, [m, _]), d(() => (_.off("update"), _.on("update", k), () => {
77
+ _.off("update", k);
78
+ }), [_, k]), d(() => {
79
+ s && _.commands.focus("end");
80
+ }, [s, _]), /* @__PURE__ */ g("div", {
81
+ className: e("scribe-wrapper", "scribe-root", w),
91
82
  "data-scribe-root": !0,
92
- style: E,
83
+ style: C,
93
84
  children: [/* @__PURE__ */ g("div", {
94
- className: e("scribe-frame", y && "scribe-frame--editable"),
85
+ className: e("scribe-frame", m && "scribe-frame--editable"),
95
86
  children: [
96
- L && C ? /* @__PURE__ */ h(t, { editor: L }) : null,
87
+ _ && b ? /* @__PURE__ */ h(t, { editor: _ }) : null,
97
88
  /* @__PURE__ */ g("div", {
98
- className: e("scribe-content", y && "scribe-content--editable", T),
99
- style: w,
100
- children: [/* @__PURE__ */ h(n, {
101
- editor: L,
102
- onKeyDown: O
103
- }), y ? /* @__PURE__ */ h(i, { editor: L }) : null]
89
+ className: e("scribe-content", m && "scribe-content--editable", S),
90
+ style: x,
91
+ children: [/* @__PURE__ */ h(r, {
92
+ editor: _,
93
+ onKeyDown: T
94
+ }), m ? /* @__PURE__ */ h(i, { editor: _ }) : null]
104
95
  }),
105
- A ? /* @__PURE__ */ h(c, { editor: L }) : null
96
+ E ? /* @__PURE__ */ h(c, { editor: _ }) : null
106
97
  ]
107
98
  }), /* @__PURE__ */ h("div", {
108
99
  className: "scribe-popup-root",
@@ -110,5 +101,49 @@ var _ = l((s, l) => {
110
101
  })]
111
102
  });
112
103
  });
104
+ v.displayName = "ScribeEditor";
105
+ var y = l((e, t) => {
106
+ let { content: r, editable: i = !0, editorProps: a, extensions: s, onTableOfContentsChange: c } = e, { handleTableOfContentsChange: l, tableOfContentsItemsRef: u } = _(c), [d] = m(() => ({
107
+ ...a,
108
+ content: r ?? a?.content,
109
+ editable: i,
110
+ extensions: [...o({
111
+ ...e,
112
+ onTableOfContentsChange: l
113
+ }), ...s ?? []],
114
+ editorProps: {
115
+ attributes: { class: "scribe" },
116
+ ...a?.editorProps
117
+ },
118
+ shouldRerenderOnTransaction: a?.shouldRerenderOnTransaction ?? !1
119
+ })), f = n(d);
120
+ return f ? /* @__PURE__ */ h(v, {
121
+ ...e,
122
+ ref: t,
123
+ editor: f,
124
+ initialContentWasApplied: !0,
125
+ tableOfContentsItemsRef: u
126
+ }) : null;
127
+ });
128
+ y.displayName = "OwnedScribe";
129
+ var b = l((e, t) => {
130
+ let { externalEditor: n, onTableOfContentsChange: r } = e, { tableOfContentsItemsRef: i } = _(r);
131
+ return n ? /* @__PURE__ */ h(v, {
132
+ ...e,
133
+ ref: t,
134
+ editor: n,
135
+ initialContentWasApplied: !1,
136
+ tableOfContentsItemsRef: i
137
+ }) : null;
138
+ });
139
+ b.displayName = "ExternalScribe";
140
+ var x = l((e, t) => e.externalEditor ? /* @__PURE__ */ h(b, {
141
+ ...e,
142
+ ref: t
143
+ }) : /* @__PURE__ */ h(y, {
144
+ ...e,
145
+ ref: t
146
+ }));
147
+ x.displayName = "Scribe";
113
148
  //#endregion
114
- export { _ as Scribe, s as SuggestionItemType };
149
+ export { x as Scribe, s as SuggestionItemType };