@clevertask/scribe 0.1.12 → 0.1.13

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.
Files changed (29) hide show
  1. package/README.md +1 -1
  2. package/dist/{BarMenu-5M9g9Y1j.js → BarMenu-O2IVhHXx.js} +1 -1
  3. package/dist/assets/index.css +1 -1
  4. package/dist/components/Menu/BarMenu.js +1 -1
  5. package/dist/components/Menu/BubbleMenu.js +2 -2
  6. package/dist/components/Menu/CalloutBubbleMenu.js +2 -2
  7. package/dist/components/Menu/LinkBubbleMenu.js +2 -2
  8. package/dist/components/Menu/Mobile/ListOptionBar.js +1 -1
  9. package/dist/components/Menu/TableBubbleMenu.js +2 -2
  10. package/dist/components/Scribe/extension/callout.js +1 -1
  11. package/dist/components/Scribe/extension/emoji/suggest.js +1 -1
  12. package/dist/components/Scribe/extension/extension-link.js +1 -1
  13. package/dist/components/Scribe/extension/extension-markdown-paste.js +1 -1
  14. package/dist/components/Scribe/extension/extension-selectedText.js +1 -1
  15. package/dist/components/Scribe/extension/index.js +1 -1
  16. package/dist/components/Scribe/extension/resizable-table.js +1 -1
  17. package/dist/components/Scribe/extension/slashCommand/index.js +1 -1
  18. package/dist/components/Scribe/extension/slashCommand/renderItems.js +1 -1
  19. package/dist/components/Scribe/extension/tableOfContents.js +1 -1
  20. package/dist/components/Scribe/index.js +3 -3
  21. package/dist/{dist-Dw4STOPE.js → dist-BoYfa2nz.js} +1 -1
  22. package/dist/{dist-DFua_Xbu.js → dist-W9E-K577.js} +980 -618
  23. package/dist/{extension-_8uh0Ik9.js → extension-D5WIAWhc.js} +2106 -2070
  24. package/dist/{extension-link-CjfUZ90W.js → extension-link-D8Zi7OSa.js} +36 -36
  25. package/dist/{menus-_EXlLMjz.js → menus-B1Zz0GjH.js} +17 -17
  26. package/dist/{resizable-table-Ddw3l6DJ.js → resizable-table-Bf-fb9iv.js} +36 -18
  27. package/dist/{slashCommand-CxX07Nbk.js → slashCommand-47omO4ob.js} +2 -2
  28. package/dist/utils/index.js +2 -2
  29. package/package.json +48 -48
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../BarMenu-5M9g9Y1j.js";
1
+ import { t as e } from "../../BarMenu-O2IVhHXx.js";
2
2
  export { e as default };
@@ -1,6 +1,6 @@
1
- import { a as e } from "../../dist-Dw4STOPE.js";
1
+ import { a as e } from "../../dist-BoYfa2nz.js";
2
2
  import { getPopupMountTarget as t } from "../Scribe/extension/getPopupMountTarget.js";
3
- import { t as n } from "../../menus-_EXlLMjz.js";
3
+ import { t as n } from "../../menus-B1Zz0GjH.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,6 +1,6 @@
1
- import { a as e } from "../../dist-Dw4STOPE.js";
1
+ import { a as e } from "../../dist-BoYfa2nz.js";
2
2
  import { getPopupMountTarget as t } from "../Scribe/extension/getPopupMountTarget.js";
3
- import { t as n } from "../../menus-_EXlLMjz.js";
3
+ import { t as n } from "../../menus-B1Zz0GjH.js";
4
4
  import { CalloutIcon as r, RemoveCalloutIcon as i } from "../../icons/CalloutIcon.js";
5
5
  import { CALLOUT_VARIANTS as a, CALLOUT_VARIANT_LABELS as o, isCalloutVariant as s } from "../Scribe/extension/callout.js";
6
6
  import { calloutBubbleMenuPluginKey as c, getSelectionCalloutContext as l } from "./calloutBubbleMenuPlugin.js";
@@ -1,8 +1,8 @@
1
- import { a as e } from "../../dist-Dw4STOPE.js";
1
+ import { a as e } from "../../dist-BoYfa2nz.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, showLinkBubbleMenu as a } from "./linkBubbleMenuPlugin.js";
5
- import { t as o } from "../../menus-_EXlLMjz.js";
5
+ import { t as o } from "../../menus-B1Zz0GjH.js";
6
6
  import { Box as s } from "@radix-ui/themes";
7
7
  import { useCallback as c, useEffect as l, useMemo as u, useRef as d, useState as f } from "react";
8
8
  import { jsx as p } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { a as e } from "../../../dist-Dw4STOPE.js";
1
+ import { a as e } from "../../../dist-BoYfa2nz.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,6 +1,6 @@
1
- import { a as e } from "../../dist-Dw4STOPE.js";
1
+ import { a as e } from "../../dist-BoYfa2nz.js";
2
2
  import { getPopupMountTarget as t } from "../Scribe/extension/getPopupMountTarget.js";
3
- import { t as n } from "../../menus-_EXlLMjz.js";
3
+ import { t as n } from "../../menus-B1Zz0GjH.js";
4
4
  import { getSelectionTableContext as r, tableBubbleMenuPluginKey as i } from "./tableBubbleMenuPlugin.js";
5
5
  import { getSelectionContextualMenuOwner as a } from "./contextualMenuOwner.js";
6
6
  import { Flex as o, IconButton as s, Separator as c } from "@radix-ui/themes";
@@ -1,4 +1,4 @@
1
- import { D as e, N as t, a as n } from "../../../dist-DFua_Xbu.js";
1
+ import { O as e, P as t, a as n } from "../../../dist-W9E-K577.js";
2
2
  import { TextSelection as r } from "@tiptap/pm/state";
3
3
  //#region lib/components/Scribe/extension/callout.ts
4
4
  var i = [
@@ -1,4 +1,4 @@
1
- import { n as e } from "../../../../dist-Dw4STOPE.js";
1
+ import { n as e } from "../../../../dist-BoYfa2nz.js";
2
2
  import { getPopupMountTarget as t } from "../getPopupMountTarget.js";
3
3
  import { t as n } from "../../../../tippy.esm-DOXqN1Qm.js";
4
4
  import { EmojiList as r } from "./EmojiList.js";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../extension-link-CjfUZ90W.js";
1
+ import { t as e } from "../../../extension-link-D8Zi7OSa.js";
2
2
  export { e as default };
@@ -1,4 +1,4 @@
1
- import { n as e } from "../../../dist-DFua_Xbu.js";
1
+ import { n as e } from "../../../dist-W9E-K577.js";
2
2
  import { n as t, t as n } from "../../../markdown-to-html-CW0Nb9Ye.js";
3
3
  import { Plugin as r, PluginKey as i } from "@tiptap/pm/state";
4
4
  //#region lib/components/Scribe/extension/extension-markdown-paste.ts
@@ -1,4 +1,4 @@
1
- import { n as e } from "../../../dist-DFua_Xbu.js";
1
+ import { n as e } from "../../../dist-W9E-K577.js";
2
2
  //#region lib/components/Scribe/extension/extension-selectedText.ts
3
3
  var t = e.create({
4
4
  name: "SelectedText",
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../extension-_8uh0Ik9.js";
1
+ import { t as e } from "../../../extension-D5WIAWhc.js";
2
2
  export { e as initExtensions };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../resizable-table-Ddw3l6DJ.js";
1
+ import { t as e } from "../../../resizable-table-Bf-fb9iv.js";
2
2
  export { e as ScribeTable };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../../../../slashCommand-CxX07Nbk.js";
1
+ import { n as e, t } from "../../../../slashCommand-47omO4ob.js";
2
2
  export { t as SlashCommand, e as slashMenuPluginKey };
@@ -1,4 +1,4 @@
1
- import { n as e } from "../../../../dist-Dw4STOPE.js";
1
+ import { n as e } from "../../../../dist-BoYfa2nz.js";
2
2
  import { getPopupMountTarget as t } from "../getPopupMountTarget.js";
3
3
  import { t as n } from "../../../../tippy.esm-DOXqN1Qm.js";
4
4
  import { SlashCommandList as r } from "./SlashCommandList.js";
@@ -1,4 +1,4 @@
1
- import { n as e } from "../../../dist-DFua_Xbu.js";
1
+ import { n as e } from "../../../dist-W9E-K577.js";
2
2
  import { Plugin as t, PluginKey as n } from "@tiptap/pm/state";
3
3
  //#region lib/components/Scribe/extension/tableOfContents.ts
4
4
  var r = "scribeTableOfContents", i = new n("scribeTableOfContents"), a = 10, o = (e) => e.trim().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "") || "heading", s = (e, t) => {
@@ -1,10 +1,10 @@
1
- import { n as e, t } from "../../BarMenu-5M9g9Y1j.js";
2
- import { i as n, t as r } from "../../dist-Dw4STOPE.js";
1
+ import { n as e, t } from "../../BarMenu-O2IVhHXx.js";
2
+ import { i as n, t as r } from "../../dist-BoYfa2nz.js";
3
3
  import i from "../Menu/CalloutBubbleMenu.js";
4
4
  import a from "../Menu/LinkBubbleMenu.js";
5
5
  import o from "../Menu/TableBubbleMenu.js";
6
6
  import { t as s } from "../../html-to-markdown-C920nQtn.js";
7
- import { t as c } from "../../extension-_8uh0Ik9.js";
7
+ import { t as c } from "../../extension-D5WIAWhc.js";
8
8
  import { SuggestionItemType as l } from "./extension/slashCommand/items.js";
9
9
  import "./extension/tableOfContents.js";
10
10
  import "../../utils/index.js";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./rolldown-runtime-CtkjhSXr.js";
2
- import { t } from "./dist-DFua_Xbu.js";
2
+ import { t } from "./dist-W9E-K577.js";
3
3
  import * as n from "react";
4
4
  import r, { createContext as i, forwardRef as a, useContext as o, useDebugValue as s, useEffect as c, useLayoutEffect as l, useMemo as u, useRef as d, useState as f, version as p } from "react";
5
5
  import m, { flushSync as h } from "react-dom";