@clevertask/scribe 0.1.32 → 0.1.33
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/{BarMenu-Bm5IfWVV.js → BarMenu-KDCTLxwU.js} +1 -1
- package/dist/components/Menu/BarMenu.js +1 -1
- package/dist/components/Menu/BubbleMenu.js +2 -2
- package/dist/components/Menu/CalloutBubbleMenu.js +2 -2
- package/dist/components/Menu/LinkBubbleMenu.js +2 -2
- package/dist/components/Menu/Mobile/ListOptionBar.js +1 -1
- package/dist/components/Menu/TableBubbleMenu.js +3 -3
- package/dist/components/Menu/TableHeightSettings.js +1 -1
- package/dist/components/Menu/linkBubbleMenuPlugin.js +1 -1
- package/dist/components/Scribe/extension/callout.js +1 -1
- package/dist/components/Scribe/extension/emoji/suggest.js +1 -1
- package/dist/components/Scribe/extension/extension-link.js +1 -1
- package/dist/components/Scribe/extension/extension-markdown-paste.js +2 -2
- package/dist/components/Scribe/extension/extension-selectedText.js +1 -1
- package/dist/components/Scribe/extension/external-link-preview/commands.js +1 -1
- package/dist/components/Scribe/extension/external-link-preview/render-html.js +1 -1
- package/dist/components/Scribe/extension/external-link-preview/schema.js +1 -1
- package/dist/components/Scribe/extension/index.js +1 -1
- package/dist/components/Scribe/extension/resizable-table.js +2 -2
- package/dist/components/Scribe/extension/slashCommand/SlashCommandList.js +3 -3
- package/dist/components/Scribe/extension/slashCommand/index.js +2 -2
- package/dist/components/Scribe/extension/slashCommand/renderItems.js +1 -1
- package/dist/components/Scribe/extension/table-layout.js +1 -1
- package/dist/components/Scribe/extension/tableOfContents.js +1 -1
- package/dist/components/Scribe/index.js +4 -4
- package/dist/{dist-BoAzo5MN.js → dist-B0QTAeBQ.js} +816 -644
- package/dist/{dist-SM4NoN4h.js → dist-D2ylH0wL.js} +144 -126
- package/dist/{dist-BqlzKS-_.js → dist-Dn1WHiQf.js} +2 -2
- package/dist/document-node-capabilities.js +1 -1
- package/dist/{extension-dz0CIf3r.js → extension-BpvJtqXe.js} +2 -2
- package/dist/{extension-link-DxIXGCtV.js → extension-link-DvMmKOua.js} +2 -2
- package/dist/{html-to-markdown-DeRG9OPm.js → html-to-markdown-CsSZIegJ.js} +1 -1
- package/dist/main.js +2 -2
- package/dist/{markdown-to-html-tCPjQ5u6.js → markdown-to-html-YkhBwkrX.js} +225 -217
- package/dist/{menus-BKxcTUsl.js → menus-DcCI3Z7f.js} +5 -5
- package/dist/purify.es-BpCmlcgS.js +877 -0
- package/dist/{rolldown-runtime-CtkjhSXr.js → rolldown-runtime-gFifre8I.js} +1 -1
- package/dist/{schema-extensions-B9hR1VrD.js → schema-extensions-CROueYL8.js} +6 -6
- package/dist/schema-extensions.js +1 -1
- package/dist/schema.js +1 -1
- package/dist/{table-layout-ClqaGg1E.js → table-layout-CARP38M-.js} +2 -2
- package/dist/utils/html-to-markdown.js +1 -1
- package/dist/utils/index.js +4 -4
- package/dist/utils/markdown-to-html.js +1 -1
- package/package.json +52 -52
- package/dist/purify.es-CSWcs7f1.js +0 -844
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e } from "./dist-
|
|
1
|
+
import { a as e } from "./dist-D2ylH0wL.js";
|
|
2
2
|
import { getPopupMountTarget as t } from "./components/Scribe/extension/getPopupMountTarget.js";
|
|
3
3
|
import { getSelectionLinkContext as n, hideLinkBubbleMenu as r } from "./components/Menu/linkBubbleMenuPlugin.js";
|
|
4
4
|
import i from "./components/Menu/LinkEditor.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../BarMenu-
|
|
1
|
+
export { t as default } from "../../BarMenu-KDCTLxwU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as e } from "../../dist-
|
|
1
|
+
import { a as e } from "../../dist-D2ylH0wL.js";
|
|
2
2
|
import { getPopupMountTarget as t } from "../Scribe/extension/getPopupMountTarget.js";
|
|
3
|
-
import { t as n } from "../../menus-
|
|
3
|
+
import { t as n } from "../../menus-DcCI3Z7f.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,7 +1,7 @@
|
|
|
1
1
|
import { CALLOUT_VARIANTS as e, CALLOUT_VARIANT_LABELS as t, isCalloutVariant as n } from "../Scribe/extension/callout.js";
|
|
2
|
-
import { a as r } from "../../dist-
|
|
2
|
+
import { a as r } from "../../dist-D2ylH0wL.js";
|
|
3
3
|
import { getPopupMountTarget as i } from "../Scribe/extension/getPopupMountTarget.js";
|
|
4
|
-
import { t as a } from "../../menus-
|
|
4
|
+
import { t as a } from "../../menus-DcCI3Z7f.js";
|
|
5
5
|
import { CalloutIcon as o, RemoveCalloutIcon as s } from "../../icons/CalloutIcon.js";
|
|
6
6
|
import { calloutBubbleMenuPluginKey as c, getSelectionCalloutContext as l } from "./calloutBubbleMenuPlugin.js";
|
|
7
7
|
import { getSelectionContextualMenuOwner as u } from "./contextualMenuOwner.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as e } from "../../dist-
|
|
1
|
+
import { a as e } from "../../dist-D2ylH0wL.js";
|
|
2
2
|
import { getPopupMountTarget as t } from "../Scribe/extension/getPopupMountTarget.js";
|
|
3
3
|
import { consumeLinkBubbleMenuFocusTarget as n, getPlainLinkContextAtPosition as r, getSelectionLinkContext as i, hideLinkBubbleMenu as a, linkBubbleMenuPluginKey as o, showLinkBubbleMenu as s } from "./linkBubbleMenuPlugin.js";
|
|
4
4
|
import c from "./LinkEditor.js";
|
|
5
|
-
import { t as l } from "../../menus-
|
|
5
|
+
import { t as l } from "../../menus-DcCI3Z7f.js";
|
|
6
6
|
import { getSelectionContextualMenuOwner as u } from "./contextualMenuOwner.js";
|
|
7
7
|
import { Box as d } from "@radix-ui/themes";
|
|
8
8
|
import { useCallback as f, useEffect as p, useMemo as m, useRef as h, useState as g } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as e, u as t } from "../../table-layout-
|
|
2
|
-
import { a as n } from "../../dist-
|
|
1
|
+
import { c as e, u as t } from "../../table-layout-CARP38M-.js";
|
|
2
|
+
import { a as n } from "../../dist-D2ylH0wL.js";
|
|
3
3
|
import { getPopupMountTarget as r } from "../Scribe/extension/getPopupMountTarget.js";
|
|
4
|
-
import { t as i } from "../../menus-
|
|
4
|
+
import { t as i } from "../../menus-DcCI3Z7f.js";
|
|
5
5
|
import { getSelectionTableContext as a, tableBubbleMenuPluginKey as o } from "./tableBubbleMenuPlugin.js";
|
|
6
6
|
import { getSelectionContextualMenuOwner as s } from "./contextualMenuOwner.js";
|
|
7
7
|
import c from "./TableLayoutOptions.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e, n as t } from "../../table-layout-
|
|
1
|
+
import { c as e, n as t } from "../../table-layout-CARP38M-.js";
|
|
2
2
|
import { getPopupMountTarget as n } from "../Scribe/extension/getPopupMountTarget.js";
|
|
3
3
|
import { getSelectionTableContext as r } from "./tableBubbleMenuPlugin.js";
|
|
4
4
|
import { NodeSelection as i } from "@tiptap/pm/state";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as e } from "../../dist-
|
|
1
|
+
import { v as e } from "../../dist-B0QTAeBQ.js";
|
|
2
2
|
import { normalizeExternalLinkPreviewAttributes as t } from "../Scribe/extension/external-link-preview/attributes.js";
|
|
3
3
|
import { NodeSelection as n, PluginKey as r } from "@tiptap/pm/state";
|
|
4
4
|
//#region lib/components/Menu/linkBubbleMenuPlugin.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "../../../../dist-
|
|
1
|
+
import { n as e } from "../../../../dist-D2ylH0wL.js";
|
|
2
2
|
import { getPopupMountTarget as t } from "../getPopupMountTarget.js";
|
|
3
3
|
import { t as n } from "../../../../tippy.esm-C8V6GlaF.js";
|
|
4
4
|
import { EmojiList as r } from "./EmojiList.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../extension-link-
|
|
1
|
+
export { t as default } from "../../../extension-link-DvMmKOua.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "../../../dist-
|
|
2
|
-
import { n as t, t as n } from "../../../markdown-to-html-
|
|
1
|
+
import { n as e } from "../../../dist-B0QTAeBQ.js";
|
|
2
|
+
import { n as t, t as n } from "../../../markdown-to-html-YkhBwkrX.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
|
|
5
5
|
var a = new i("markdownPaste"), o = /* @__PURE__ */ new Set([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as e } from "../../../../dist-
|
|
1
|
+
import { v as e } from "../../../../dist-B0QTAeBQ.js";
|
|
2
2
|
import { EXTERNAL_LINK_PREVIEW_NODE_NAME as t, normalizeExternalLinkPreviewAttributes as n, normalizeExternalLinkPreviewHref as r } from "./attributes.js";
|
|
3
3
|
import { normalizeLinkUrl as i } from "../../../Menu/linkUrl.js";
|
|
4
4
|
import { NodeSelection as a, TextSelection as o } from "@tiptap/pm/state";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as e } from "../../../../dist-
|
|
1
|
+
import { B as e } from "../../../../dist-B0QTAeBQ.js";
|
|
2
2
|
import { getExternalLinkPreviewDataAttributes as t } from "./serialization.js";
|
|
3
3
|
//#region lib/components/Scribe/extension/external-link-preview/render-html.ts
|
|
4
4
|
var n = ({ attributes: n, HTMLAttributes: r }) => [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e } from "../../../../dist-
|
|
1
|
+
import { a as e } from "../../../../dist-B0QTAeBQ.js";
|
|
2
2
|
import { EXTERNAL_LINK_PREVIEW_NODE_NAME as t, isExternalLinkPreviewDisplay as n, normalizeExternalLinkPreviewAttributes as r, normalizeExternalLinkPreviewHref as i, normalizeExternalLinkPreviewLinkText as a, normalizeExternalLinkPreviewMediaUrl as o, normalizeExternalLinkPreviewMetadata as s } from "./attributes.js";
|
|
3
3
|
import { getExternalLinkPreviewAttributesFromElement as c } from "./serialization.js";
|
|
4
4
|
import { renderExternalLinkPreviewHTML as l } from "./render-html.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as initExtensions } from "../../../extension-
|
|
1
|
+
export { t as initExtensions } from "../../../extension-BpvJtqXe.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as e } from "../../../dist-
|
|
2
|
-
import { c as t, f as n, i as r, l as i, o as a, p as o, s, u as c } from "../../../table-layout-
|
|
1
|
+
import { B as e } from "../../../dist-B0QTAeBQ.js";
|
|
2
|
+
import { c as t, f as n, i as r, l as i, o as a, p as o, s, u as c } from "../../../table-layout-CARP38M-.js";
|
|
3
3
|
import { createStickyTableHeaderPlugin as l } from "./table-sticky-header.js";
|
|
4
4
|
import { NodeSelection as u } from "@tiptap/pm/state";
|
|
5
5
|
import { columnResizing as d, columnResizingPluginKey as f, tableEditing as p } from "@tiptap/pm/tables";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as e } from "../../../../rolldown-runtime-
|
|
1
|
+
import { t as e } from "../../../../rolldown-runtime-gFifre8I.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, useId as o, useImperativeHandle as s, useState as c } from "react";
|
|
4
4
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region lib/components/Scribe/extension/slashCommand/SlashCommandList.tsx
|
|
7
|
-
var d = (/* @__PURE__ */ e(((e, t) => {
|
|
7
|
+
var d = (/* @__PURE__ */ e(((e, t, n) => {
|
|
8
8
|
(function() {
|
|
9
9
|
var n, r = "Expected a function", i = "__lodash_hash_undefined__", a = "__lodash_placeholder__", o = 1, s = 2, c = 8, l = 16, u = 32, d = 64, f = 128, p = 256, m = 512, h = 1 / 0, g = 9007199254740991, _ = 17976931348623157e292, v = NaN, y = 4294967295, b = y - 1, x = y >>> 1, ee = [
|
|
10
10
|
["ary", f],
|
|
@@ -3297,7 +3297,7 @@ var d = (/* @__PURE__ */ e(((e, t) => {
|
|
|
3297
3297
|
typeof define == "function" && typeof define.amd == "object" && define.amd ? (k._ = yr, define(function() {
|
|
3298
3298
|
return yr;
|
|
3299
3299
|
})) : un ? ((un.exports = yr)._ = yr, ln._ = yr) : k._ = yr;
|
|
3300
|
-
}).call(
|
|
3300
|
+
}).call(n);
|
|
3301
3301
|
})))(), f = i((e, i) => {
|
|
3302
3302
|
let [f, p] = c(0), m = o(), { items: h, command: g } = e, _ = h.length === 0 ? 0 : Math.min(f, h.length - 1), v = a((e) => {
|
|
3303
3303
|
let t = h[e];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "../../../../dist-
|
|
2
|
-
import { n as t } from "../../../../dist-
|
|
1
|
+
import { n as e } from "../../../../dist-B0QTAeBQ.js";
|
|
2
|
+
import { n as t } from "../../../../dist-Dn1WHiQf.js";
|
|
3
3
|
import { PluginKey as n } from "@tiptap/pm/state";
|
|
4
4
|
//#region lib/components/Scribe/extension/slashCommand/index.ts
|
|
5
5
|
var r = new n("slashSuggestion"), i = e.create({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "../../../../dist-
|
|
1
|
+
import { n as e } from "../../../../dist-D2ylH0wL.js";
|
|
2
2
|
import { getPopupMountTarget as t } from "../getPopupMountTarget.js";
|
|
3
3
|
import { t as n } from "../../../../tippy.esm-C8V6GlaF.js";
|
|
4
4
|
import { SlashCommandList as r } from "./SlashCommandList.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as DEFAULT_TABLE_MAX_HEIGHT, n as MAX_TABLE_MAX_HEIGHT, r as MIN_TABLE_MAX_HEIGHT, i as SCRIBE_TABLE_LAYOUTS, a as SCROLL_TABLE_COLUMN_WIDTH, o as ScribeTableView, s as normalizeTableLayout, c as normalizeTableMaxHeight, l as scrollTablePresentation, u as tableHasHeaderRow, d as tableHasStickyHeader, f as tableLayoutAttributes } from "../../../table-layout-
|
|
1
|
+
export { t as DEFAULT_TABLE_MAX_HEIGHT, n as MAX_TABLE_MAX_HEIGHT, r as MIN_TABLE_MAX_HEIGHT, i as SCRIBE_TABLE_LAYOUTS, a as SCROLL_TABLE_COLUMN_WIDTH, o as ScribeTableView, s as normalizeTableLayout, c as normalizeTableMaxHeight, l as scrollTablePresentation, u as tableHasHeaderRow, d as tableHasStickyHeader, f as tableLayoutAttributes } from "../../../table-layout-CARP38M-.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "../../../dist-
|
|
1
|
+
import { n as e } from "../../../dist-B0QTAeBQ.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-
|
|
2
|
-
import { i as n, t as r } from "../../dist-
|
|
1
|
+
import { n as e, t } from "../../BarMenu-KDCTLxwU.js";
|
|
2
|
+
import { i as n, t as r } from "../../dist-D2ylH0wL.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
|
-
import { t as s } from "../../html-to-markdown-
|
|
7
|
-
import { t as c } from "../../extension-
|
|
6
|
+
import { t as s } from "../../html-to-markdown-CsSZIegJ.js";
|
|
7
|
+
import { t as c } from "../../extension-BpvJtqXe.js";
|
|
8
8
|
import { SuggestionItemType as l } from "./extension/slashCommand/items.js";
|
|
9
9
|
import "./extension/tableOfContents.js";
|
|
10
10
|
import "../../utils/index.js";
|