quoin-editor 1.3.0 → 1.4.1
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/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/THIRD_PARTY_NOTICES.md +47 -0
- package/dist/ai.cjs +21 -22
- package/dist/ai.cjs.map +1 -1
- package/dist/ai.d.cts +3 -2
- package/dist/ai.d.ts +3 -2
- package/dist/ai.js +1 -2
- package/dist/ai.js.map +1 -1
- package/dist/catalogue.cjs +15 -15
- package/dist/catalogue.d.cts +9 -8
- package/dist/catalogue.d.ts +9 -8
- package/dist/catalogue.js +8 -8
- package/dist/{chunk-HRTIY6NY.cjs → chunk-3NVFHJFS.cjs} +20 -19
- package/dist/chunk-3NVFHJFS.cjs.map +1 -0
- package/dist/{chunk-QGQFA5HD.js → chunk-3YA7FYEL.js} +7 -4
- package/dist/chunk-3YA7FYEL.js.map +1 -0
- package/dist/{chunk-5MQ2AL7L.cjs → chunk-65WK575V.cjs} +552 -96
- package/dist/chunk-65WK575V.cjs.map +1 -0
- package/dist/{chunk-OZIRHN5H.js → chunk-6LOYAC5N.js} +5 -4
- package/dist/chunk-6LOYAC5N.js.map +1 -0
- package/dist/{chunk-7RZNJR4J.cjs → chunk-7WSBPD6Z.cjs} +44 -41
- package/dist/chunk-7WSBPD6Z.cjs.map +1 -0
- package/dist/{chunk-5YQKKFYB.js → chunk-AC4AFDTI.js} +3 -3
- package/dist/{chunk-5YQKKFYB.js.map → chunk-AC4AFDTI.js.map} +1 -1
- package/dist/{chunk-3YXV6LP7.cjs → chunk-AZ2ZNSFN.cjs} +17 -18
- package/dist/chunk-AZ2ZNSFN.cjs.map +1 -0
- package/dist/{chunk-5ILVILAJ.cjs → chunk-FQDNF7MF.cjs} +41 -42
- package/dist/chunk-FQDNF7MF.cjs.map +1 -0
- package/dist/{chunk-AY5ANGXK.cjs → chunk-H5FM6I5W.cjs} +9 -9
- package/dist/{chunk-AY5ANGXK.cjs.map → chunk-H5FM6I5W.cjs.map} +1 -1
- package/dist/{chunk-DGWAVYTO.js → chunk-KRLHGVJV.js} +5 -4
- package/dist/chunk-KRLHGVJV.js.map +1 -0
- package/dist/{chunk-YFPEJP6W.js → chunk-MQTLZTIM.js} +446 -23
- package/dist/chunk-MQTLZTIM.js.map +1 -0
- package/dist/{chunk-YWYOLZWB.cjs → chunk-QPOUONJ7.cjs} +23 -22
- package/dist/chunk-QPOUONJ7.cjs.map +1 -0
- package/dist/{chunk-FWETDMCE.js → chunk-STCJWXP5.js} +3 -4
- package/dist/chunk-STCJWXP5.js.map +1 -0
- package/dist/{chunk-X2CN6FXA.cjs → chunk-VUYJGFUA.cjs} +12 -11
- package/dist/chunk-VUYJGFUA.cjs.map +1 -0
- package/dist/{chunk-R5RI4SFY.js → chunk-VVS6JJLI.js} +5 -4
- package/dist/chunk-VVS6JJLI.js.map +1 -0
- package/dist/{chunk-UWTU4V3G.js → chunk-YEQEBJPM.js} +3 -4
- package/dist/chunk-YEQEBJPM.js.map +1 -0
- package/dist/comments.cjs +21 -21
- package/dist/comments.cjs.map +1 -1
- package/dist/comments.d.cts +3 -2
- package/dist/comments.d.ts +3 -2
- package/dist/comments.js +5 -5
- package/dist/comments.js.map +1 -1
- package/dist/diff.d.cts +7 -5
- package/dist/diff.d.ts +7 -5
- package/dist/docx.d.cts +3 -2
- package/dist/docx.d.ts +3 -2
- package/dist/embed.cjs +4 -4
- package/dist/embed.d.cts +4 -3
- package/dist/embed.d.ts +4 -3
- package/dist/embed.js +2 -2
- package/dist/emoji-data.cjs +272 -263
- package/dist/emoji-data.cjs.map +1 -1
- package/dist/emoji-data.js +272 -263
- package/dist/emoji-data.js.map +1 -1
- package/dist/{emoji-extension-W7WYXOxF.d.ts → emoji-extension-C3o_Y5uC.d.cts} +3 -2
- package/dist/{emoji-extension-j6FdAXPA.d.cts → emoji-extension-gRKnbW8G.d.ts} +3 -2
- package/dist/emoji.cjs +5 -5
- package/dist/emoji.d.cts +5 -4
- package/dist/emoji.d.ts +5 -4
- package/dist/emoji.js +2 -2
- package/dist/engine.d.cts +5 -4
- package/dist/engine.d.ts +5 -4
- package/dist/{find-extension-DhVtoyGx.d.cts → find-extension-BGGsJMu4.d.cts} +3 -2
- package/dist/{find-extension-CwhUbnM7.d.ts → find-extension-B_Ctrs6T.d.ts} +3 -2
- package/dist/find.cjs +6 -6
- package/dist/find.d.cts +5 -4
- package/dist/find.d.ts +5 -4
- package/dist/find.js +2 -2
- package/dist/headless.d.cts +8 -7
- package/dist/headless.d.ts +8 -7
- package/dist/{index-CLSQdbjq.d.ts → index-CsG7OQoq.d.cts} +3 -2
- package/dist/{index-KM5kJs7H.d.cts → index-h1llgZM-.d.ts} +3 -2
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +9 -8
- package/dist/index.d.ts +9 -8
- package/dist/index.js +1 -1
- package/dist/math.cjs +4 -4
- package/dist/math.d.cts +4 -3
- package/dist/math.d.ts +4 -3
- package/dist/math.js +2 -2
- package/dist/mention.cjs +4 -4
- package/dist/mention.d.cts +3 -2
- package/dist/mention.d.ts +3 -2
- package/dist/mention.js +2 -2
- package/dist/presence.cjs +1 -1
- package/dist/presence.d.cts +4 -3
- package/dist/presence.d.ts +4 -3
- package/dist/presence.js +1 -1
- package/dist/{registry-CXegaw5k.d.cts → registry-DdQaddP1.d.cts} +2 -1
- package/dist/{registry-CXegaw5k.d.ts → registry-DdQaddP1.d.ts} +2 -1
- package/dist/{stats-extension-ByKYtIB5.d.cts → stats-extension-XqOTvRaq.d.cts} +3 -2
- package/dist/{stats-extension-DNEtte9E.d.ts → stats-extension-oD6D1cYy.d.ts} +3 -2
- package/dist/stats.cjs +1 -1
- package/dist/stats.d.cts +5 -4
- package/dist/stats.d.ts +5 -4
- package/dist/stats.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/{table-extension-DuphgC4v.d.cts → table-extension-BP47hHoz.d.cts} +3 -2
- package/dist/{table-extension-BT6DTOXL.d.ts → table-extension-v6VB59bF.d.ts} +3 -2
- package/dist/table.cjs +21 -21
- package/dist/table.d.cts +5 -4
- package/dist/table.d.ts +5 -4
- package/dist/table.js +2 -2
- package/dist/{to-html-DwhNK6-9.d.cts → to-html-1oD-CDle.d.cts} +2 -1
- package/dist/{to-html-B_NwgPSz.d.ts → to-html-CLRBCX0I.d.ts} +2 -1
- package/dist/{toc-extension-B0Datrvu.d.ts → toc-extension-CI6jNOYl.d.cts} +3 -2
- package/dist/{toc-extension-RtMspT0A.d.cts → toc-extension-CTHWjNJC.d.ts} +3 -2
- package/dist/toc.cjs +5 -5
- package/dist/toc.d.cts +5 -4
- package/dist/toc.d.ts +5 -4
- package/dist/toc.js +2 -2
- package/dist/{types-rf9DGNaS.d.ts → types-BjLcmV00.d.ts} +2 -1
- package/dist/{types-DM6gsVga.d.cts → types-DXF9p4qV.d.cts} +2 -1
- package/dist/{view-controller-BzXblb44.d.cts → view-controller-BfVSNZYZ.d.cts} +3 -2
- package/dist/{view-controller-CdzfG_xK.d.ts → view-controller-p-2x3J7Y.d.ts} +3 -2
- package/dist/view.d.cts +7 -5
- package/dist/view.d.ts +7 -5
- package/dist/yjs.d.cts +4 -4
- package/dist/yjs.d.ts +4 -4
- package/package.json +37 -29
- package/dist/chunk-3YXV6LP7.cjs.map +0 -1
- package/dist/chunk-5ILVILAJ.cjs.map +0 -1
- package/dist/chunk-5MQ2AL7L.cjs.map +0 -1
- package/dist/chunk-7RZNJR4J.cjs.map +0 -1
- package/dist/chunk-DGWAVYTO.js.map +0 -1
- package/dist/chunk-FWETDMCE.js.map +0 -1
- package/dist/chunk-HRTIY6NY.cjs.map +0 -1
- package/dist/chunk-OZIRHN5H.js.map +0 -1
- package/dist/chunk-QGQFA5HD.js.map +0 -1
- package/dist/chunk-R5RI4SFY.js.map +0 -1
- package/dist/chunk-UWTU4V3G.js.map +0 -1
- package/dist/chunk-X2CN6FXA.cjs.map +0 -1
- package/dist/chunk-YFPEJP6W.js.map +0 -1
- package/dist/chunk-YWYOLZWB.cjs.map +0 -1
|
@@ -5,7 +5,6 @@ var chunkA6PGQVTR_cjs = require('./chunk-A6PGQVTR.cjs');
|
|
|
5
5
|
var chunkVZZPCYA3_cjs = require('./chunk-VZZPCYA3.cjs');
|
|
6
6
|
var chunkWZA5S5EJ_cjs = require('./chunk-WZA5S5EJ.cjs');
|
|
7
7
|
var React7 = require('react');
|
|
8
|
-
var lucideReact = require('lucide-react');
|
|
9
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
10
9
|
var ContextMenuPrimitive = require('@radix-ui/react-context-menu');
|
|
11
10
|
var clsx = require('clsx');
|
|
@@ -39,6 +38,418 @@ var PopoverPrimitive__namespace = /*#__PURE__*/_interopNamespace(PopoverPrimitiv
|
|
|
39
38
|
var DropdownMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(DropdownMenuPrimitive);
|
|
40
39
|
var DialogPrimitive__namespace = /*#__PURE__*/_interopNamespace(DialogPrimitive);
|
|
41
40
|
|
|
41
|
+
function Icon({ name, ...props }) {
|
|
42
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
43
|
+
"svg",
|
|
44
|
+
{
|
|
45
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
46
|
+
width: "24",
|
|
47
|
+
height: "24",
|
|
48
|
+
viewBox: "0 0 24 24",
|
|
49
|
+
fill: "none",
|
|
50
|
+
stroke: "currentColor",
|
|
51
|
+
strokeWidth: "2",
|
|
52
|
+
strokeLinecap: "round",
|
|
53
|
+
strokeLinejoin: "round",
|
|
54
|
+
"aria-hidden": "true",
|
|
55
|
+
"data-quoin-icon": name,
|
|
56
|
+
...props
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
var Check = (props) => /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "check", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20 6 9 17l-5-5" }) });
|
|
61
|
+
var Circle = (props) => /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "circle", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10" }) });
|
|
62
|
+
var Copy = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "copy", ...props, children: [
|
|
63
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
|
64
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
|
|
65
|
+
] });
|
|
66
|
+
var CopyPlus = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "copy-plus", ...props, children: [
|
|
67
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "15", x2: "15", y1: "12", y2: "18" }),
|
|
68
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", x2: "18", y1: "15", y2: "15" }),
|
|
69
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
|
70
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
|
|
71
|
+
] });
|
|
72
|
+
var GripHorizontal = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "grip-horizontal", ...props, children: [
|
|
73
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "9", r: "1" }),
|
|
74
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "19", cy: "9", r: "1" }),
|
|
75
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "5", cy: "9", r: "1" }),
|
|
76
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "15", r: "1" }),
|
|
77
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "19", cy: "15", r: "1" }),
|
|
78
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "5", cy: "15", r: "1" })
|
|
79
|
+
] });
|
|
80
|
+
var GripVertical = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "grip-vertical", ...props, children: [
|
|
81
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "9", cy: "12", r: "1" }),
|
|
82
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "9", cy: "5", r: "1" }),
|
|
83
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "9", cy: "19", r: "1" }),
|
|
84
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "15", cy: "12", r: "1" }),
|
|
85
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "15", cy: "5", r: "1" }),
|
|
86
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "15", cy: "19", r: "1" })
|
|
87
|
+
] });
|
|
88
|
+
var Link = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "link", ...props, children: [
|
|
89
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" }),
|
|
90
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" })
|
|
91
|
+
] });
|
|
92
|
+
var Minus = (props) => /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "minus", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 12h14" }) });
|
|
93
|
+
var PenLine = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "pen-line", ...props, children: [
|
|
94
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M13 21h8" }),
|
|
95
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" })
|
|
96
|
+
] });
|
|
97
|
+
var Pencil = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "pencil", ...props, children: [
|
|
98
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" }),
|
|
99
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m15 5 4 4" })
|
|
100
|
+
] });
|
|
101
|
+
var Plus = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "plus", ...props, children: [
|
|
102
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 12h14" }),
|
|
103
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 5v14" })
|
|
104
|
+
] });
|
|
105
|
+
var Trash = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "trash", ...props, children: [
|
|
106
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 11v6" }),
|
|
107
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 11v6" }),
|
|
108
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }),
|
|
109
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 6h18" }),
|
|
110
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" })
|
|
111
|
+
] });
|
|
112
|
+
var Unlink = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "unlink", ...props, children: [
|
|
113
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71" }),
|
|
114
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71" }),
|
|
115
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "8", x2: "8", y1: "2", y2: "5" }),
|
|
116
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "2", x2: "5", y1: "8", y2: "8" }),
|
|
117
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "16", x2: "16", y1: "19", y2: "22" }),
|
|
118
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "19", x2: "22", y1: "16", y2: "16" })
|
|
119
|
+
] });
|
|
120
|
+
var X = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "x", ...props, children: [
|
|
121
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18 6 6 18" }),
|
|
122
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 6 12 12" })
|
|
123
|
+
] });
|
|
124
|
+
var ArrowDown = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "arrow-down", ...props, children: [
|
|
125
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 5v14" }),
|
|
126
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m19 12-7 7-7-7" })
|
|
127
|
+
] });
|
|
128
|
+
var ArrowDownToLine = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "arrow-down-to-line", ...props, children: [
|
|
129
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 17V3" }),
|
|
130
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 11 6 6 6-6" }),
|
|
131
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 21H5" })
|
|
132
|
+
] });
|
|
133
|
+
var ArrowLeft = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "arrow-left", ...props, children: [
|
|
134
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m12 19-7-7 7-7" }),
|
|
135
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 12H5" })
|
|
136
|
+
] });
|
|
137
|
+
var ArrowLeftToLine = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "arrow-left-to-line", ...props, children: [
|
|
138
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 19V5" }),
|
|
139
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m13 6-6 6 6 6" }),
|
|
140
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7 12h14" })
|
|
141
|
+
] });
|
|
142
|
+
var ArrowRight = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "arrow-right", ...props, children: [
|
|
143
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 12h14" }),
|
|
144
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m12 5 7 7-7 7" })
|
|
145
|
+
] });
|
|
146
|
+
var ArrowRightToLine = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "arrow-right-to-line", ...props, children: [
|
|
147
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17 12H3" }),
|
|
148
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m11 18 6-6-6-6" }),
|
|
149
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 5v14" })
|
|
150
|
+
] });
|
|
151
|
+
var ArrowUp = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "arrow-up", ...props, children: [
|
|
152
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m5 12 7-7 7 7" }),
|
|
153
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 19V5" })
|
|
154
|
+
] });
|
|
155
|
+
var ArrowUpToLine = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "arrow-up-to-line", ...props, children: [
|
|
156
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 3h14" }),
|
|
157
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m18 13-6-6-6 6" }),
|
|
158
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 7v14" })
|
|
159
|
+
] });
|
|
160
|
+
var ChevronDown = (props) => /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "chevron-down", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 9 6 6 6-6" }) });
|
|
161
|
+
var ChevronRight = (props) => /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "chevron-right", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 18 6-6-6-6" }) });
|
|
162
|
+
var ChevronUp = (props) => /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "chevron-up", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m18 15-6-6-6 6" }) });
|
|
163
|
+
var ExternalLink = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "external-link", ...props, children: [
|
|
164
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M15 3h6v6" }),
|
|
165
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 14 21 3" }),
|
|
166
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" })
|
|
167
|
+
] });
|
|
168
|
+
var Redo2 = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "redo-2", ...props, children: [
|
|
169
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m15 14 5-5-5-5" }),
|
|
170
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13" })
|
|
171
|
+
] });
|
|
172
|
+
var Repeat2 = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "repeat-2", ...props, children: [
|
|
173
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m2 9 3-3 3 3" }),
|
|
174
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M13 18H7a2 2 0 0 1-2-2V6" }),
|
|
175
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m22 15-3 3-3-3" }),
|
|
176
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 6h6a2 2 0 0 1 2 2v10" })
|
|
177
|
+
] });
|
|
178
|
+
var SendHorizontal = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "send-horizontal", ...props, children: [
|
|
179
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z" }),
|
|
180
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 12h16" })
|
|
181
|
+
] });
|
|
182
|
+
var Undo2 = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "undo-2", ...props, children: [
|
|
183
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9 14 4 9l5-5" }),
|
|
184
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11" })
|
|
185
|
+
] });
|
|
186
|
+
var AppWindow = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "app-window", ...props, children: [
|
|
187
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "2", y: "4", width: "20", height: "16", rx: "2" }),
|
|
188
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 4v4" }),
|
|
189
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M2 8h20" }),
|
|
190
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 4v4" })
|
|
191
|
+
] });
|
|
192
|
+
var Bookmark = (props) => /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "bookmark", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z" }) });
|
|
193
|
+
var Download = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "download", ...props, children: [
|
|
194
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 15V3" }),
|
|
195
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
|
|
196
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m7 10 5 5 5-5" })
|
|
197
|
+
] });
|
|
198
|
+
var FileArchive = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "file-archive", ...props, children: [
|
|
199
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M13.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v11.5" }),
|
|
200
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 2v5a1 1 0 0 0 1 1h5" }),
|
|
201
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 12v-1" }),
|
|
202
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 18v-2" }),
|
|
203
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 7V6" }),
|
|
204
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "8", cy: "20", r: "2" })
|
|
205
|
+
] });
|
|
206
|
+
var FileIcon = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "file", ...props, children: [
|
|
207
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }),
|
|
208
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 2v5a1 1 0 0 0 1 1h5" })
|
|
209
|
+
] });
|
|
210
|
+
var FileImage = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "file-image", ...props, children: [
|
|
211
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }),
|
|
212
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 2v5a1 1 0 0 0 1 1h5" }),
|
|
213
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "10", cy: "12", r: "2" }),
|
|
214
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22" })
|
|
215
|
+
] });
|
|
216
|
+
var FileMusic = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "file-music", ...props, children: [
|
|
217
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11.65 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v10.35" }),
|
|
218
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 2v5a1 1 0 0 0 1 1h5" }),
|
|
219
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 20v-7l3 1.474" }),
|
|
220
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "6", cy: "20", r: "2" })
|
|
221
|
+
] });
|
|
222
|
+
var FilePlay = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "file-play", ...props, children: [
|
|
223
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }),
|
|
224
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 2v5a1 1 0 0 0 1 1h5" }),
|
|
225
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M15.033 13.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56v-4.704a.645.645 0 0 1 .967-.56z" })
|
|
226
|
+
] });
|
|
227
|
+
var FileText = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "file-text", ...props, children: [
|
|
228
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }),
|
|
229
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 2v5a1 1 0 0 0 1 1h5" }),
|
|
230
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 9H8" }),
|
|
231
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 13H8" }),
|
|
232
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 17H8" })
|
|
233
|
+
] });
|
|
234
|
+
var Image = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "image", ...props, children: [
|
|
235
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2" }),
|
|
236
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "9", cy: "9", r: "2" }),
|
|
237
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" })
|
|
238
|
+
] });
|
|
239
|
+
var Paperclip = (props) => /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "paperclip", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551" }) });
|
|
240
|
+
var Upload = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "upload", ...props, children: [
|
|
241
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 3v12" }),
|
|
242
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m17 8-5-5-5 5" }),
|
|
243
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" })
|
|
244
|
+
] });
|
|
245
|
+
var AlignCenter = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "align-center", ...props, children: [
|
|
246
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 5H3" }),
|
|
247
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17 12H7" }),
|
|
248
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 19H5" })
|
|
249
|
+
] });
|
|
250
|
+
var AlignJustify = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "align-justify", ...props, children: [
|
|
251
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 5h18" }),
|
|
252
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 12h18" }),
|
|
253
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 19h18" })
|
|
254
|
+
] });
|
|
255
|
+
var AlignLeft = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "align-left", ...props, children: [
|
|
256
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 5H3" }),
|
|
257
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M15 12H3" }),
|
|
258
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17 19H3" })
|
|
259
|
+
] });
|
|
260
|
+
var AlignRight = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "align-right", ...props, children: [
|
|
261
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 5H3" }),
|
|
262
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 12H9" }),
|
|
263
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 19H7" })
|
|
264
|
+
] });
|
|
265
|
+
var List = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "list", ...props, children: [
|
|
266
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 5h.01" }),
|
|
267
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 12h.01" }),
|
|
268
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 19h.01" }),
|
|
269
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 5h13" }),
|
|
270
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 12h13" }),
|
|
271
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 19h13" })
|
|
272
|
+
] });
|
|
273
|
+
var ListCollapse = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "list-collapse", ...props, children: [
|
|
274
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 5h11" }),
|
|
275
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 12h11" }),
|
|
276
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 19h11" }),
|
|
277
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m3 10 3-3-3-3" }),
|
|
278
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m3 20 3-3-3-3" })
|
|
279
|
+
] });
|
|
280
|
+
var ListIndentDecrease = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "list-indent-decrease", ...props, children: [
|
|
281
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 5H11" }),
|
|
282
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 12H11" }),
|
|
283
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 19H11" }),
|
|
284
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m7 8-4 4 4 4" })
|
|
285
|
+
] });
|
|
286
|
+
var ListIndentIncrease = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "list-indent-increase", ...props, children: [
|
|
287
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 5H11" }),
|
|
288
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 12H11" }),
|
|
289
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 19H11" }),
|
|
290
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m3 8 4 4-4 4" })
|
|
291
|
+
] });
|
|
292
|
+
var ListOrdered = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "list-ordered", ...props, children: [
|
|
293
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 5h10" }),
|
|
294
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 12h10" }),
|
|
295
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 19h10" }),
|
|
296
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 4h1v5" }),
|
|
297
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 9h2" }),
|
|
298
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02" })
|
|
299
|
+
] });
|
|
300
|
+
var ListTodo = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "list-todo", ...props, children: [
|
|
301
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M13 5h8" }),
|
|
302
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M13 12h8" }),
|
|
303
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M13 19h8" }),
|
|
304
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m3 17 2 2 4-4" }),
|
|
305
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "3", y: "4", width: "6", height: "6", rx: "1" })
|
|
306
|
+
] });
|
|
307
|
+
var Table = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "table", ...props, children: [
|
|
308
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 3v18" }),
|
|
309
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
|
|
310
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 9h18" }),
|
|
311
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 15h18" })
|
|
312
|
+
] });
|
|
313
|
+
var TableOfContents = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "table-of-contents", ...props, children: [
|
|
314
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 5H3" }),
|
|
315
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 12H3" }),
|
|
316
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 19H3" }),
|
|
317
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 5h.01" }),
|
|
318
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 12h.01" }),
|
|
319
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 19h.01" })
|
|
320
|
+
] });
|
|
321
|
+
var Droplet = (props) => /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "droplet", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z" }) });
|
|
322
|
+
var Keyboard = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "keyboard", ...props, children: [
|
|
323
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 8h.01" }),
|
|
324
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 12h.01" }),
|
|
325
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 8h.01" }),
|
|
326
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 12h.01" }),
|
|
327
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18 8h.01" }),
|
|
328
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 8h.01" }),
|
|
329
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7 16h10" }),
|
|
330
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 12h.01" }),
|
|
331
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { width: "20", height: "16", x: "2", y: "4", rx: "2" })
|
|
332
|
+
] });
|
|
333
|
+
var MessageSquare = (props) => /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "message-square", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" }) });
|
|
334
|
+
var MessageSquarePlus = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "message-square-plus", ...props, children: [
|
|
335
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" }),
|
|
336
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 8v6" }),
|
|
337
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9 11h6" })
|
|
338
|
+
] });
|
|
339
|
+
var Palette = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "palette", ...props, children: [
|
|
340
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z" }),
|
|
341
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "13.5", cy: "6.5", r: ".5", fill: "currentColor" }),
|
|
342
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "17.5", cy: "10.5", r: ".5", fill: "currentColor" }),
|
|
343
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "6.5", cy: "12.5", r: ".5", fill: "currentColor" }),
|
|
344
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "8.5", cy: "7.5", r: ".5", fill: "currentColor" })
|
|
345
|
+
] });
|
|
346
|
+
var Radical = (props) => /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "radical", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 12h3.28a1 1 0 0 1 .948.684l2.298 7.934a.5.5 0 0 0 .96-.044L13.82 4.771A1 1 0 0 1 14.792 4H21" }) });
|
|
347
|
+
var Sigma = (props) => /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "sigma", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2" }) });
|
|
348
|
+
var SmilePlus = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "smile-plus", ...props, children: [
|
|
349
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M13.267 2.08a10 10 0 108.653 8.653" }),
|
|
350
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M15 10V9" }),
|
|
351
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 5h6" }),
|
|
352
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16.472 15a6 6 0 01-8.943 0" }),
|
|
353
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 2v6" }),
|
|
354
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9 10V9" })
|
|
355
|
+
] });
|
|
356
|
+
var Sparkles = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "sparkles", ...props, children: [
|
|
357
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" }),
|
|
358
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20 2v4" }),
|
|
359
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M22 4h-4" }),
|
|
360
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "4", cy: "20", r: "2" })
|
|
361
|
+
] });
|
|
362
|
+
var Sticker = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "sticker", ...props, children: [
|
|
363
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z" }),
|
|
364
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M15 3v5a1 1 0 0 0 1 1h5" }),
|
|
365
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 13h.01" }),
|
|
366
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 13h.01" }),
|
|
367
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 16s.8 1 2 1c1.3 0 2-1 2-1" })
|
|
368
|
+
] });
|
|
369
|
+
var Baseline = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "baseline", ...props, children: [
|
|
370
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 20h16" }),
|
|
371
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 16 6-12 6 12" }),
|
|
372
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 12h8" })
|
|
373
|
+
] });
|
|
374
|
+
var Bold = (props) => /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "bold", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8" }) });
|
|
375
|
+
var CaseSensitive = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "case-sensitive", ...props, children: [
|
|
376
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" }),
|
|
377
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M22 9v7" }),
|
|
378
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3.304 13h6.392" }),
|
|
379
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "18.5", cy: "12.5", r: "3.5" })
|
|
380
|
+
] });
|
|
381
|
+
var Code = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "code", ...props, children: [
|
|
382
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m16 18 6-6-6-6" }),
|
|
383
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m8 6-6 6 6 6" })
|
|
384
|
+
] });
|
|
385
|
+
var Heading1 = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "heading-1", ...props, children: [
|
|
386
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 12h8" }),
|
|
387
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 18V6" }),
|
|
388
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 18V6" }),
|
|
389
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m17 12 3-2v8" })
|
|
390
|
+
] });
|
|
391
|
+
var Heading2 = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "heading-2", ...props, children: [
|
|
392
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 12h8" }),
|
|
393
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 18V6" }),
|
|
394
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 18V6" }),
|
|
395
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1" })
|
|
396
|
+
] });
|
|
397
|
+
var Heading3 = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "heading-3", ...props, children: [
|
|
398
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 12h8" }),
|
|
399
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 18V6" }),
|
|
400
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 18V6" }),
|
|
401
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2" }),
|
|
402
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2" })
|
|
403
|
+
] });
|
|
404
|
+
var Italic = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "italic", ...props, children: [
|
|
405
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "19", x2: "10", y1: "4", y2: "4" }),
|
|
406
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "14", x2: "5", y1: "20", y2: "20" }),
|
|
407
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "15", x2: "9", y1: "4", y2: "20" })
|
|
408
|
+
] });
|
|
409
|
+
var Regex = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "regex", ...props, children: [
|
|
410
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17 3v10" }),
|
|
411
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m12.67 5.5 8.66 5" }),
|
|
412
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m12.67 10.5 8.66-5" }),
|
|
413
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2z" })
|
|
414
|
+
] });
|
|
415
|
+
var Strikethrough = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "strikethrough", ...props, children: [
|
|
416
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 4H9a3 3 0 0 0-2.83 4" }),
|
|
417
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 12a4 4 0 0 1 0 8H6" }),
|
|
418
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "4", x2: "20", y1: "12", y2: "12" })
|
|
419
|
+
] });
|
|
420
|
+
var Subscript = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "subscript", ...props, children: [
|
|
421
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m4 5 8 8" }),
|
|
422
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m12 5-8 8" }),
|
|
423
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07" })
|
|
424
|
+
] });
|
|
425
|
+
var Superscript = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "superscript", ...props, children: [
|
|
426
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m4 19 8-8" }),
|
|
427
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m12 19-8-8" }),
|
|
428
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06" })
|
|
429
|
+
] });
|
|
430
|
+
var TextQuote = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "text-quote", ...props, children: [
|
|
431
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17 5H3" }),
|
|
432
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 12H8" }),
|
|
433
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 19H8" }),
|
|
434
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 12v7" })
|
|
435
|
+
] });
|
|
436
|
+
var Type = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "type", ...props, children: [
|
|
437
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 4v16" }),
|
|
438
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2" }),
|
|
439
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9 20h6" })
|
|
440
|
+
] });
|
|
441
|
+
var Underline = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "underline", ...props, children: [
|
|
442
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 4v6a6 6 0 0 0 12 0V4" }),
|
|
443
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "4", x2: "20", y1: "20", y2: "20" })
|
|
444
|
+
] });
|
|
445
|
+
var WholeWord = (props) => /* @__PURE__ */ jsxRuntime.jsxs(Icon, { name: "whole-word", ...props, children: [
|
|
446
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "7", cy: "12", r: "3" }),
|
|
447
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 9v6" }),
|
|
448
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "17", cy: "12", r: "3" }),
|
|
449
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 7v8" }),
|
|
450
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1" })
|
|
451
|
+
] });
|
|
452
|
+
|
|
42
453
|
// src/blocks/file/format-size.ts
|
|
43
454
|
var UNITS = ["B", "KB", "MB", "GB", "TB"];
|
|
44
455
|
function formatSize(bytes) {
|
|
@@ -369,35 +780,35 @@ var coreBlocks = [
|
|
|
369
780
|
chunkA6PGQVTR_cjs.defineBlock({
|
|
370
781
|
type: "MARKDOWN",
|
|
371
782
|
label: "Markdown",
|
|
372
|
-
icon:
|
|
783
|
+
icon: FileText,
|
|
373
784
|
preview: MarkdownPreview,
|
|
374
785
|
initialData: () => ({ markdown: "" })
|
|
375
786
|
}),
|
|
376
787
|
chunkA6PGQVTR_cjs.defineBlock({
|
|
377
788
|
type: "CALLOUT",
|
|
378
789
|
label: "Callout",
|
|
379
|
-
icon:
|
|
790
|
+
icon: MessageSquare,
|
|
380
791
|
preview: CalloutPreview,
|
|
381
792
|
initialData: () => ({ tone: "info", body: "" })
|
|
382
793
|
}),
|
|
383
794
|
chunkA6PGQVTR_cjs.defineBlock({
|
|
384
795
|
type: "CODE",
|
|
385
796
|
label: "Code",
|
|
386
|
-
icon:
|
|
797
|
+
icon: Code,
|
|
387
798
|
preview: CodePreview,
|
|
388
799
|
initialData: () => ({ language: "", code: "" })
|
|
389
800
|
}),
|
|
390
801
|
chunkA6PGQVTR_cjs.defineBlock({
|
|
391
802
|
type: "IMAGE",
|
|
392
803
|
label: "Image",
|
|
393
|
-
icon:
|
|
804
|
+
icon: Image,
|
|
394
805
|
preview: ImagePreview,
|
|
395
806
|
initialData: () => ({ storageKey: "", alt: "" })
|
|
396
807
|
}),
|
|
397
808
|
chunkA6PGQVTR_cjs.defineBlock({
|
|
398
809
|
type: "FILE",
|
|
399
810
|
label: "File",
|
|
400
|
-
icon:
|
|
811
|
+
icon: Paperclip,
|
|
401
812
|
preview: FilePreview,
|
|
402
813
|
initialData: () => ({ storageKey: "", filename: "" })
|
|
403
814
|
})
|
|
@@ -629,7 +1040,7 @@ var ContextMenuItem = /* @__PURE__ */ React7__namespace.forwardRef(function Cont
|
|
|
629
1040
|
var ContextMenuRadioGroup = /* @__PURE__ */ React7__namespace.forwardRef(function ContextMenuRadioGroup2(props, ref) {
|
|
630
1041
|
return /* @__PURE__ */ jsxRuntime.jsx(ContextMenuPrimitive__namespace.RadioGroup, { ref, "data-slot": "context-menu-radio-group", ...props });
|
|
631
1042
|
});
|
|
632
|
-
var ContextMenuRadioItem = /* @__PURE__ */ React7__namespace.forwardRef(function ContextMenuRadioItem2({ className, children, indicator = /* @__PURE__ */ jsxRuntime.jsx(
|
|
1043
|
+
var ContextMenuRadioItem = /* @__PURE__ */ React7__namespace.forwardRef(function ContextMenuRadioItem2({ className, children, indicator = /* @__PURE__ */ jsxRuntime.jsx(Circle, { className: "size-2 fill-current" }), ...props }, ref) {
|
|
633
1044
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
634
1045
|
ContextMenuPrimitive__namespace.RadioItem,
|
|
635
1046
|
{
|
|
@@ -681,7 +1092,7 @@ var ContextMenuSubTrigger = /* @__PURE__ */ React7__namespace.forwardRef(functio
|
|
|
681
1092
|
...props,
|
|
682
1093
|
children: [
|
|
683
1094
|
children,
|
|
684
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1095
|
+
/* @__PURE__ */ jsxRuntime.jsx(ChevronRight, { className: "ml-auto size-4" })
|
|
685
1096
|
]
|
|
686
1097
|
}
|
|
687
1098
|
);
|
|
@@ -797,26 +1208,26 @@ function coreBlockMenuActions(labels, options) {
|
|
|
797
1208
|
{
|
|
798
1209
|
id: "duplicate",
|
|
799
1210
|
label: labels.duplicate,
|
|
800
|
-
icon:
|
|
1211
|
+
icon: CopyPlus,
|
|
801
1212
|
shortcut: "Mod-d",
|
|
802
1213
|
run: (controller, blockIds) => runOnBlocks(controller, blockIds, chunkVZZPCYA3_cjs.duplicateBlocks())
|
|
803
1214
|
},
|
|
804
1215
|
{
|
|
805
1216
|
id: "copy",
|
|
806
1217
|
label: labels.copy,
|
|
807
|
-
icon:
|
|
1218
|
+
icon: Copy,
|
|
808
1219
|
run: (controller, blockIds) => copy(controller, blockIds, markdownOf(controller.editor, blockIds, options.resolveAssetUrl))
|
|
809
1220
|
},
|
|
810
1221
|
{
|
|
811
1222
|
id: "copy-link",
|
|
812
1223
|
label: labels.copyLink,
|
|
813
|
-
icon:
|
|
1224
|
+
icon: Link,
|
|
814
1225
|
run: (controller, blockIds) => copy(controller, blockIds, options.blockLink(blockIds[0]))
|
|
815
1226
|
},
|
|
816
1227
|
{
|
|
817
1228
|
id: "move-up",
|
|
818
1229
|
label: labels.moveUp,
|
|
819
|
-
icon:
|
|
1230
|
+
icon: ArrowUp,
|
|
820
1231
|
shortcut: "Mod-Shift-ArrowUp",
|
|
821
1232
|
run: (controller, blockIds) => runOnBlocks(controller, blockIds, chunkVZZPCYA3_cjs.moveBlocksUp),
|
|
822
1233
|
available: applies(chunkVZZPCYA3_cjs.moveBlocksUp)
|
|
@@ -824,7 +1235,7 @@ function coreBlockMenuActions(labels, options) {
|
|
|
824
1235
|
{
|
|
825
1236
|
id: "move-down",
|
|
826
1237
|
label: labels.moveDown,
|
|
827
|
-
icon:
|
|
1238
|
+
icon: ArrowDown,
|
|
828
1239
|
shortcut: "Mod-Shift-ArrowDown",
|
|
829
1240
|
run: (controller, blockIds) => runOnBlocks(controller, blockIds, chunkVZZPCYA3_cjs.moveBlocksDown),
|
|
830
1241
|
available: applies(chunkVZZPCYA3_cjs.moveBlocksDown)
|
|
@@ -832,7 +1243,7 @@ function coreBlockMenuActions(labels, options) {
|
|
|
832
1243
|
{
|
|
833
1244
|
id: "delete",
|
|
834
1245
|
label: labels.delete,
|
|
835
|
-
icon:
|
|
1246
|
+
icon: Trash,
|
|
836
1247
|
destructive: true,
|
|
837
1248
|
run: (controller, blockIds) => runOnBlocks(controller, blockIds, chunkVZZPCYA3_cjs.deleteBlocks)
|
|
838
1249
|
}
|
|
@@ -870,8 +1281,8 @@ function calloutTone(value) {
|
|
|
870
1281
|
function calloutIcon(attrs, tone) {
|
|
871
1282
|
return typeof attrs.icon === "string" && attrs.icon !== "" ? attrs.icon : TONE_ICONS[tone];
|
|
872
1283
|
}
|
|
873
|
-
function MenuIcon({ icon:
|
|
874
|
-
return /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1284
|
+
function MenuIcon({ icon: Icon2 }) {
|
|
1285
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(Icon2, { className: "size-4" }) });
|
|
875
1286
|
}
|
|
876
1287
|
var sharedTone = (blocks) => {
|
|
877
1288
|
const tones = new Set(blocks.map((block) => calloutTone(block.attrs.tone)));
|
|
@@ -884,14 +1295,14 @@ function CalloutMenus({ kit, controller, blocks }) {
|
|
|
884
1295
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
885
1296
|
/* @__PURE__ */ jsxRuntime.jsxs(kit.Sub, { children: [
|
|
886
1297
|
/* @__PURE__ */ jsxRuntime.jsxs(kit.SubTrigger, { children: [
|
|
887
|
-
/* @__PURE__ */ jsxRuntime.jsx(MenuIcon, { icon:
|
|
1298
|
+
/* @__PURE__ */ jsxRuntime.jsx(MenuIcon, { icon: Droplet }),
|
|
888
1299
|
labels.tone
|
|
889
1300
|
] }),
|
|
890
|
-
/* @__PURE__ */ jsxRuntime.jsx(kit.SubContent, { children: /* @__PURE__ */ jsxRuntime.jsx(kit.RadioGroup, { value: sharedTone(blocks), onValueChange: (tone) => apply({ tone }), children: CALLOUT_TONES.map((tone) => /* @__PURE__ */ jsxRuntime.jsx(kit.RadioItem, { value: tone, indicator: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1301
|
+
/* @__PURE__ */ jsxRuntime.jsx(kit.SubContent, { children: /* @__PURE__ */ jsxRuntime.jsx(kit.RadioGroup, { value: sharedTone(blocks), onValueChange: (tone) => apply({ tone }), children: CALLOUT_TONES.map((tone) => /* @__PURE__ */ jsxRuntime.jsx(kit.RadioItem, { value: tone, indicator: /* @__PURE__ */ jsxRuntime.jsx(Check, { className: "size-4" }), children: labels.calloutTones[tone] }, tone)) }) })
|
|
891
1302
|
] }),
|
|
892
1303
|
/* @__PURE__ */ jsxRuntime.jsxs(kit.Sub, { children: [
|
|
893
1304
|
/* @__PURE__ */ jsxRuntime.jsxs(kit.SubTrigger, { children: [
|
|
894
|
-
/* @__PURE__ */ jsxRuntime.jsx(MenuIcon, { icon:
|
|
1305
|
+
/* @__PURE__ */ jsxRuntime.jsx(MenuIcon, { icon: Sticker }),
|
|
895
1306
|
labels.icon
|
|
896
1307
|
] }),
|
|
897
1308
|
/* @__PURE__ */ jsxRuntime.jsx(kit.SubContent, { className: "min-w-0", children: CALLOUT_ICONS.map((icon) => /* @__PURE__ */ jsxRuntime.jsx(kit.Item, { className: "justify-center text-base", onSelect: () => apply({ icon }), children: icon }, icon)) })
|
|
@@ -913,7 +1324,7 @@ function ColorGroups({ kit, value, onPick }) {
|
|
|
913
1324
|
const backgroundTitle = React7.useId();
|
|
914
1325
|
const group = (key, title, titleId) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
915
1326
|
/* @__PURE__ */ jsxRuntime.jsx(kit.Label, { id: titleId, children: title }),
|
|
916
|
-
/* @__PURE__ */ jsxRuntime.jsx(kit.RadioGroup, { "aria-labelledby": titleId, value: value[key], onValueChange: (name) => onPick(key, name), children: chunkWZA5S5EJ_cjs.PALETTE.map((name) => /* @__PURE__ */ jsxRuntime.jsxs(kit.RadioItem, { value: name, indicator: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1327
|
+
/* @__PURE__ */ jsxRuntime.jsx(kit.RadioGroup, { "aria-labelledby": titleId, value: value[key], onValueChange: (name) => onPick(key, name), children: chunkWZA5S5EJ_cjs.PALETTE.map((name) => /* @__PURE__ */ jsxRuntime.jsxs(kit.RadioItem, { value: name, indicator: /* @__PURE__ */ jsxRuntime.jsx(Check, { className: "size-4" }), children: [
|
|
917
1328
|
swatches[key](name),
|
|
918
1329
|
labels.colors[name]
|
|
919
1330
|
] }, name)) })
|
|
@@ -931,7 +1342,7 @@ function ColorMenu({ kit, controller, blocks }) {
|
|
|
931
1342
|
const pick = (key, name) => runOnBlocks(controller, blockIds, chunkVZZPCYA3_cjs.setBlockColor({ [key]: name === "default" ? null : name }));
|
|
932
1343
|
return /* @__PURE__ */ jsxRuntime.jsxs(kit.Sub, { children: [
|
|
933
1344
|
/* @__PURE__ */ jsxRuntime.jsxs(kit.SubTrigger, { children: [
|
|
934
|
-
/* @__PURE__ */ jsxRuntime.jsx(MenuIcon, { icon:
|
|
1345
|
+
/* @__PURE__ */ jsxRuntime.jsx(MenuIcon, { icon: Palette }),
|
|
935
1346
|
labels.color
|
|
936
1347
|
] }),
|
|
937
1348
|
/* @__PURE__ */ jsxRuntime.jsx(kit.SubContent, { children: /* @__PURE__ */ jsxRuntime.jsx(ColorGroups, { kit, value, onPick: pick }) })
|
|
@@ -1410,7 +1821,7 @@ function CopyCodeButton({ code, controller }) {
|
|
|
1410
1821
|
setCopied(true);
|
|
1411
1822
|
controller.announce(labels.copied);
|
|
1412
1823
|
};
|
|
1413
|
-
const
|
|
1824
|
+
const Icon2 = copied ? Check : Copy;
|
|
1414
1825
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1415
1826
|
Button,
|
|
1416
1827
|
{
|
|
@@ -1421,7 +1832,7 @@ function CopyCodeButton({ code, controller }) {
|
|
|
1421
1832
|
"aria-label": labels.copyCode,
|
|
1422
1833
|
className: "quoin-code-control",
|
|
1423
1834
|
onClick: () => void copy(),
|
|
1424
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1835
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Icon2, { "aria-hidden": "true" })
|
|
1425
1836
|
}
|
|
1426
1837
|
);
|
|
1427
1838
|
}
|
|
@@ -1639,7 +2050,7 @@ function FilePickerButton({ label, accept, disabled, busy = false, onPick }) {
|
|
|
1639
2050
|
}, [disabled]);
|
|
1640
2051
|
return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "relative inline-flex rounded-md has-[:focus-visible]:outline-2 has-[:focus-visible]:outline-offset-2 has-[:focus-visible]:outline-[var(--quoin-ring)]", children: [
|
|
1641
2052
|
/* @__PURE__ */ jsxRuntime.jsx(Button, { asChild: true, variant: "outline", size: "sm", children: /* @__PURE__ */ jsxRuntime.jsxs("span", { "aria-hidden": "true", className: disabled || busy ? "pointer-events-none opacity-50" : void 0, children: [
|
|
1642
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2053
|
+
/* @__PURE__ */ jsxRuntime.jsx(Upload, { "aria-hidden": "true" }),
|
|
1643
2054
|
label
|
|
1644
2055
|
] }) }),
|
|
1645
2056
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1826,15 +2237,17 @@ function focusInEditor(controller) {
|
|
|
1826
2237
|
const active = document.activeElement;
|
|
1827
2238
|
return active !== null && (controller.isEditorElement(active) || isBubblePart(active, controller));
|
|
1828
2239
|
}
|
|
2240
|
+
|
|
2241
|
+
// src/blocks/file/file-icon.ts
|
|
1829
2242
|
var KINDS = [
|
|
1830
|
-
[
|
|
1831
|
-
[
|
|
1832
|
-
[
|
|
1833
|
-
[
|
|
1834
|
-
[
|
|
2243
|
+
[FileImage, /^(image\/|(png|jpe?g|gif|webp|svg|heic|bmp)$)/],
|
|
2244
|
+
[FileMusic, /^(audio\/|(mp3|wav|ogg|flac|m4a|aac)$)/],
|
|
2245
|
+
[FilePlay, /^(video\/|(mp4|mov|webm|mkv|avi|mpe?g)$)/],
|
|
2246
|
+
[FileArchive, /^(zip|rar|7z|tar|gz|xz)$/],
|
|
2247
|
+
[FileText, /^(text\/|(txt|md|csv|pdf|rtf|docx?)$)/]
|
|
1835
2248
|
];
|
|
1836
2249
|
var kindOf = (value) => KINDS.find(([, pattern]) => pattern.test(value))?.[0];
|
|
1837
|
-
var fileIcon = (mime, filename) => kindOf(mime) ?? kindOf(/\.([^.]+)$/.exec(filename)?.[1].toLowerCase() ?? "") ??
|
|
2250
|
+
var fileIcon = (mime, filename) => kindOf(mime) ?? kindOf(/\.([^.]+)$/.exec(filename)?.[1].toLowerCase() ?? "") ?? FileIcon;
|
|
1838
2251
|
|
|
1839
2252
|
// src/blocks/file/file-source.ts
|
|
1840
2253
|
var fileName = (attrs) => chunkWZA5S5EJ_cjs.str(attrs.filename) || chunkWZA5S5EJ_cjs.str(attrs.storageKey);
|
|
@@ -1846,9 +2259,9 @@ function FileCard({ block, controller, readOnly }) {
|
|
|
1846
2259
|
const name = fileName(attrs);
|
|
1847
2260
|
const size = chunkWZA5S5EJ_cjs.optionalNumber(attrs.size);
|
|
1848
2261
|
const href = assetHref(resolveAssetUrl, chunkWZA5S5EJ_cjs.str(attrs.storageKey));
|
|
1849
|
-
const
|
|
2262
|
+
const Icon2 = fileIcon(chunkWZA5S5EJ_cjs.str(attrs.mime), name);
|
|
1850
2263
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: card, className: "quoin-file-card", ...selectHandlers(controller, id, card), children: [
|
|
1851
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2264
|
+
/* @__PURE__ */ jsxRuntime.jsx(Icon2, { "aria-hidden": "true", className: "quoin-file-icon" }),
|
|
1852
2265
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "quoin-file-name", children: name }),
|
|
1853
2266
|
size !== void 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "quoin-file-size", children: labels.fileSize(size) }),
|
|
1854
2267
|
href !== null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -1863,7 +2276,7 @@ function FileCard({ block, controller, readOnly }) {
|
|
|
1863
2276
|
tabIndex: readOnly ? void 0 : -1,
|
|
1864
2277
|
...readOnly ? void 0 : bubblePart(controller),
|
|
1865
2278
|
children: [
|
|
1866
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2279
|
+
/* @__PURE__ */ jsxRuntime.jsx(Download, { "aria-hidden": "true" }),
|
|
1867
2280
|
labels.download
|
|
1868
2281
|
]
|
|
1869
2282
|
}
|
|
@@ -1981,7 +2394,9 @@ function usePartAnchor(controller, blockId, selector) {
|
|
|
1981
2394
|
return { current: virtualAnchor(() => part()?.getBoundingClientRect() ?? null, part) };
|
|
1982
2395
|
}, [controller, blockId, selector]);
|
|
1983
2396
|
}
|
|
1984
|
-
|
|
2397
|
+
|
|
2398
|
+
// src/blocks/void/node-toolbar-items.ts
|
|
2399
|
+
var replaceItem = (title, run) => run ? [{ id: "replace", title, icon: Upload, run }] : [];
|
|
1985
2400
|
function deleteBlock(controller, blockId) {
|
|
1986
2401
|
runOnBlocks(controller, [blockId], chunkVZZPCYA3_cjs.deleteBlocks);
|
|
1987
2402
|
controller.focus();
|
|
@@ -1989,7 +2404,7 @@ function deleteBlock(controller, blockId) {
|
|
|
1989
2404
|
var deleteItem = (blockId, title) => ({
|
|
1990
2405
|
id: "delete",
|
|
1991
2406
|
title,
|
|
1992
|
-
icon:
|
|
2407
|
+
icon: Trash,
|
|
1993
2408
|
run: (controller) => deleteBlock(controller, blockId)
|
|
1994
2409
|
});
|
|
1995
2410
|
var PRESSED = "aria-pressed:bg-accent aria-pressed:text-accent-foreground";
|
|
@@ -2005,25 +2420,25 @@ function markItem(mark, title, icon) {
|
|
|
2005
2420
|
var linkItem = (labels, openLink) => ({
|
|
2006
2421
|
id: "link",
|
|
2007
2422
|
title: labels.link,
|
|
2008
|
-
icon:
|
|
2423
|
+
icon: Link,
|
|
2009
2424
|
run: openLink
|
|
2010
2425
|
});
|
|
2011
2426
|
function bubbleItems(labels, openLink) {
|
|
2012
2427
|
return {
|
|
2013
2428
|
inline: [
|
|
2014
|
-
markItem("bold", labels.bold,
|
|
2015
|
-
markItem("italic", labels.italic,
|
|
2016
|
-
markItem("underline", labels.underline,
|
|
2017
|
-
markItem("strike", labels.strike,
|
|
2018
|
-
markItem("code", labels.code,
|
|
2429
|
+
markItem("bold", labels.bold, Bold),
|
|
2430
|
+
markItem("italic", labels.italic, Italic),
|
|
2431
|
+
markItem("underline", labels.underline, Underline),
|
|
2432
|
+
markItem("strike", labels.strike, Strikethrough),
|
|
2433
|
+
markItem("code", labels.code, Code),
|
|
2019
2434
|
linkItem(labels, openLink)
|
|
2020
2435
|
],
|
|
2021
|
-
scripts: [markItem("sub", labels.subscript,
|
|
2436
|
+
scripts: [markItem("sub", labels.subscript, Subscript), markItem("sup", labels.superscript, Superscript)]
|
|
2022
2437
|
};
|
|
2023
2438
|
}
|
|
2024
2439
|
function ToolbarButton({ item, state, controller, buttonRef }) {
|
|
2025
2440
|
if (item.available?.(state) === false) return null;
|
|
2026
|
-
const
|
|
2441
|
+
const Icon2 = item.icon;
|
|
2027
2442
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2028
2443
|
Button,
|
|
2029
2444
|
{
|
|
@@ -2035,7 +2450,7 @@ function ToolbarButton({ item, state, controller, buttonRef }) {
|
|
|
2035
2450
|
"aria-pressed": item.isActive?.(state),
|
|
2036
2451
|
className: PRESSED,
|
|
2037
2452
|
onClick: () => item.run(controller),
|
|
2038
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2453
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Icon2, {})
|
|
2039
2454
|
}
|
|
2040
2455
|
);
|
|
2041
2456
|
}
|
|
@@ -2351,7 +2766,7 @@ function ImageFigure({ block, controller, readOnly }) {
|
|
|
2351
2766
|
onClick: select
|
|
2352
2767
|
}
|
|
2353
2768
|
) : /* @__PURE__ */ jsxRuntime.jsxs("div", { role: "img", "aria-label": name, className: "quoin-image-missing", onClick: select, children: [
|
|
2354
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2769
|
+
/* @__PURE__ */ jsxRuntime.jsx(Image, { "aria-hidden": "true" }),
|
|
2355
2770
|
alt
|
|
2356
2771
|
] }),
|
|
2357
2772
|
flagged && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2452,7 +2867,7 @@ function EmbedLinkForm({ blockId, controller }) {
|
|
|
2452
2867
|
}
|
|
2453
2868
|
}
|
|
2454
2869
|
),
|
|
2455
|
-
/* @__PURE__ */ jsxRuntime.jsx(Button, { type: "submit", variant: "ghost", size: "icon-sm", "aria-label": labels.linkApply, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2870
|
+
/* @__PURE__ */ jsxRuntime.jsx(Button, { type: "submit", variant: "ghost", size: "icon-sm", "aria-label": labels.linkApply, children: /* @__PURE__ */ jsxRuntime.jsx(Check, {}) }),
|
|
2456
2871
|
invalid && /* @__PURE__ */ jsxRuntime.jsx("p", { id: messageId, role: "alert", className: "quoin-block-message", children: labels.invalidLink })
|
|
2457
2872
|
] });
|
|
2458
2873
|
}
|
|
@@ -2497,7 +2912,7 @@ function ImageUploadArea({ blockId, controller }) {
|
|
|
2497
2912
|
className: "quoin-image-upload",
|
|
2498
2913
|
onSelect: () => setLinking(false),
|
|
2499
2914
|
actions: /* @__PURE__ */ jsxRuntime.jsxs(Button, { type: "button", variant: "ghost", size: "sm", "aria-expanded": linking, onClick: () => setLinking(true), children: [
|
|
2500
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2915
|
+
/* @__PURE__ */ jsxRuntime.jsx(Link, {}),
|
|
2501
2916
|
labels.embedLink
|
|
2502
2917
|
] }),
|
|
2503
2918
|
children: linking && /* @__PURE__ */ jsxRuntime.jsx(EmbedLinkForm, { blockId, controller })
|
|
@@ -2700,10 +3115,12 @@ function AltTextPopover({ blockId, controller, anchor, opener, alt, decorative,
|
|
|
2700
3115
|
}
|
|
2701
3116
|
);
|
|
2702
3117
|
}
|
|
3118
|
+
|
|
3119
|
+
// src/blocks/image/image-toolbar-items.ts
|
|
2703
3120
|
var ALIGNS = [
|
|
2704
|
-
["left",
|
|
2705
|
-
["center",
|
|
2706
|
-
["right",
|
|
3121
|
+
["left", AlignLeft, "alignLeft"],
|
|
3122
|
+
["center", AlignCenter, "alignCenter"],
|
|
3123
|
+
["right", AlignRight, "alignRight"]
|
|
2707
3124
|
];
|
|
2708
3125
|
function imageToolbarItems(blockId, labels, actions) {
|
|
2709
3126
|
const aligns = ALIGNS.map(
|
|
@@ -2719,8 +3136,8 @@ function imageToolbarItems(blockId, labels, actions) {
|
|
|
2719
3136
|
return [
|
|
2720
3137
|
...aligns,
|
|
2721
3138
|
...replaceItem(labels.replaceImage, replace),
|
|
2722
|
-
{ id: "alt", title: labels.altText, icon:
|
|
2723
|
-
{ id: "download", title: labels.download, icon:
|
|
3139
|
+
{ id: "alt", title: labels.altText, icon: Pencil, run: editAlt },
|
|
3140
|
+
{ id: "download", title: labels.download, icon: Download, run: download2 },
|
|
2724
3141
|
deleteItem(blockId, labels.delete)
|
|
2725
3142
|
];
|
|
2726
3143
|
}
|
|
@@ -2848,7 +3265,7 @@ var DropdownMenuCheckboxItem = /* @__PURE__ */ React7__namespace.forwardRef(func
|
|
|
2848
3265
|
className: cn(MENU_CHECKABLE_ITEM, className),
|
|
2849
3266
|
...props,
|
|
2850
3267
|
children: [
|
|
2851
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: MENU_ITEM_INDICATOR, children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3268
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: MENU_ITEM_INDICATOR, children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(Check, { className: "size-4" }) }) }),
|
|
2852
3269
|
children
|
|
2853
3270
|
]
|
|
2854
3271
|
}
|
|
@@ -2857,7 +3274,7 @@ var DropdownMenuCheckboxItem = /* @__PURE__ */ React7__namespace.forwardRef(func
|
|
|
2857
3274
|
var DropdownMenuRadioGroup = /* @__PURE__ */ React7__namespace.forwardRef(function DropdownMenuRadioGroup2(props, ref) {
|
|
2858
3275
|
return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.RadioGroup, { ref, "data-slot": "dropdown-menu-radio-group", ...props });
|
|
2859
3276
|
});
|
|
2860
|
-
var DropdownMenuRadioItem = /* @__PURE__ */ React7__namespace.forwardRef(function DropdownMenuRadioItem2({ className, children, indicator = /* @__PURE__ */ jsxRuntime.jsx(
|
|
3277
|
+
var DropdownMenuRadioItem = /* @__PURE__ */ React7__namespace.forwardRef(function DropdownMenuRadioItem2({ className, children, indicator = /* @__PURE__ */ jsxRuntime.jsx(Circle, { className: "size-2 fill-current" }), ...props }, ref) {
|
|
2861
3278
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2862
3279
|
DropdownMenuPrimitive__namespace.RadioItem,
|
|
2863
3280
|
{
|
|
@@ -2911,7 +3328,7 @@ var DropdownMenuSubTrigger = /* @__PURE__ */ React7__namespace.forwardRef(functi
|
|
|
2911
3328
|
...props,
|
|
2912
3329
|
children: [
|
|
2913
3330
|
children,
|
|
2914
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3331
|
+
/* @__PURE__ */ jsxRuntime.jsx(ChevronRight, { className: "ml-auto size-4" })
|
|
2915
3332
|
]
|
|
2916
3333
|
}
|
|
2917
3334
|
);
|
|
@@ -3155,7 +3572,9 @@ function drawnInPlace(definitions, type) {
|
|
|
3155
3572
|
}
|
|
3156
3573
|
var drawsType = (definitions, type) => !Object.hasOwn(inPlaceRenderers, type) || chunkA6PGQVTR_cjs.blockByType(definitions, type) !== void 0;
|
|
3157
3574
|
var opensEditor = (definitions, type) => drawnInPlace(definitions, type) || !drawnAsText(definitions, type, false) && chunkA6PGQVTR_cjs.blockByType(definitions, type)?.editor !== void 0;
|
|
3158
|
-
|
|
3575
|
+
|
|
3576
|
+
// src/gutter/turn-into-targets.ts
|
|
3577
|
+
var HEADING_ICONS = [Heading1, Heading2, Heading3];
|
|
3159
3578
|
function turnIntoTargets(labels) {
|
|
3160
3579
|
const { blockNames } = labels;
|
|
3161
3580
|
const line = (id, label, icon, attrs) => ({
|
|
@@ -3166,18 +3585,18 @@ function turnIntoTargets(labels) {
|
|
|
3166
3585
|
attrs
|
|
3167
3586
|
});
|
|
3168
3587
|
return [
|
|
3169
|
-
line("text", blockNames.text,
|
|
3588
|
+
line("text", blockNames.text, Type, { kind: "paragraph" }),
|
|
3170
3589
|
...HEADING_ICONS.map((icon, i) => {
|
|
3171
3590
|
const level = i + 1;
|
|
3172
3591
|
return line(`heading${level}`, labels.heading(level), icon, { kind: "heading", level });
|
|
3173
3592
|
}),
|
|
3174
|
-
line("bulletedList", blockNames.bulletedList,
|
|
3175
|
-
line("numberedList", blockNames.numberedList,
|
|
3176
|
-
line("todoList", blockNames.todoList,
|
|
3177
|
-
line("quote", blockNames.quote,
|
|
3178
|
-
{ id: "callout", label: blockNames.callout, icon:
|
|
3179
|
-
{ id: "toggle", label: blockNames.toggle, icon:
|
|
3180
|
-
{ id: "code", label: blockNames.code, icon:
|
|
3593
|
+
line("bulletedList", blockNames.bulletedList, List, { kind: "bullet" }),
|
|
3594
|
+
line("numberedList", blockNames.numberedList, ListOrdered, { kind: "ordered" }),
|
|
3595
|
+
line("todoList", blockNames.todoList, ListTodo, { kind: "task" }),
|
|
3596
|
+
line("quote", blockNames.quote, TextQuote, { kind: "quote" }),
|
|
3597
|
+
{ id: "callout", label: blockNames.callout, icon: MessageSquare, type: "CALLOUT", attrs: {} },
|
|
3598
|
+
{ id: "toggle", label: blockNames.toggle, icon: ListCollapse, type: "TOGGLE", attrs: {} },
|
|
3599
|
+
{ id: "code", label: blockNames.code, icon: Code, type: "CODE", attrs: {} }
|
|
3181
3600
|
];
|
|
3182
3601
|
}
|
|
3183
3602
|
function TurnIntoItems({ kit, controller, blockIds }) {
|
|
@@ -3193,7 +3612,7 @@ function TurnIntoMenu(props) {
|
|
|
3193
3612
|
const labels = useLabels();
|
|
3194
3613
|
return /* @__PURE__ */ jsxRuntime.jsxs(kit.Sub, { children: [
|
|
3195
3614
|
/* @__PURE__ */ jsxRuntime.jsxs(kit.SubTrigger, { children: [
|
|
3196
|
-
/* @__PURE__ */ jsxRuntime.jsx(MenuIcon, { icon:
|
|
3615
|
+
/* @__PURE__ */ jsxRuntime.jsx(MenuIcon, { icon: Repeat2 }),
|
|
3197
3616
|
labels.turnInto
|
|
3198
3617
|
] }),
|
|
3199
3618
|
/* @__PURE__ */ jsxRuntime.jsx(kit.SubContent, { children: /* @__PURE__ */ jsxRuntime.jsx(TurnIntoItems, { ...props }) })
|
|
@@ -3895,7 +4314,7 @@ function Gutter({ controller, store, actions }) {
|
|
|
3895
4314
|
className: ADD_BELOW,
|
|
3896
4315
|
onPointerDown: keepFocus,
|
|
3897
4316
|
onClick: addBelow,
|
|
3898
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4317
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Plus, {})
|
|
3899
4318
|
}
|
|
3900
4319
|
),
|
|
3901
4320
|
/* @__PURE__ */ jsxRuntime.jsx(BlockMenu, { controller, store, actions, onOpen: openMenu, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3917,7 +4336,7 @@ function Gutter({ controller, store, actions }) {
|
|
|
3917
4336
|
menuOpenAtPress.current = false;
|
|
3918
4337
|
if (!drag.takeClick(event) && !closing) openMenu();
|
|
3919
4338
|
},
|
|
3920
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4339
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(GripVertical, {})
|
|
3921
4340
|
}
|
|
3922
4341
|
) })
|
|
3923
4342
|
]
|
|
@@ -4032,7 +4451,7 @@ function ToolbarMenu({ controller, trigger, children }) {
|
|
|
4032
4451
|
}
|
|
4033
4452
|
);
|
|
4034
4453
|
}
|
|
4035
|
-
var ICONS = { left:
|
|
4454
|
+
var ICONS = { left: AlignLeft, center: AlignCenter, right: AlignRight, justify: AlignJustify };
|
|
4036
4455
|
var ALIGNS2 = Object.keys(ICONS);
|
|
4037
4456
|
var LABEL_KEYS = { left: "alignLeft", center: "alignCenter", right: "alignRight", justify: "alignJustify" };
|
|
4038
4457
|
function sharedAlign(state) {
|
|
@@ -4045,9 +4464,9 @@ function AlignDropdown({ controller, state }) {
|
|
|
4045
4464
|
const labels = useLabels();
|
|
4046
4465
|
const value = sharedAlign(state);
|
|
4047
4466
|
if (value === null) return null;
|
|
4048
|
-
const
|
|
4049
|
-
const trigger = /* @__PURE__ */ jsxRuntime.jsx(Button, { type: "button", variant: "ghost", size: "icon-sm", "aria-label": labels.align, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4050
|
-
return /* @__PURE__ */ jsxRuntime.jsx(ToolbarMenu, { controller, trigger, children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuRadioGroup, { value, onValueChange: (align) => controller.run(chunkVZZPCYA3_cjs.setTextAlign(align)), children: ALIGNS2.map((align) => /* @__PURE__ */ jsxRuntime.jsxs(DropdownMenuRadioItem, { value: align, indicator: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4467
|
+
const Icon2 = value === "" ? AlignLeft : ICONS[value];
|
|
4468
|
+
const trigger = /* @__PURE__ */ jsxRuntime.jsx(Button, { type: "button", variant: "ghost", size: "icon-sm", "aria-label": labels.align, children: /* @__PURE__ */ jsxRuntime.jsx(Icon2, {}) });
|
|
4469
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ToolbarMenu, { controller, trigger, children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuRadioGroup, { value, onValueChange: (align) => controller.run(chunkVZZPCYA3_cjs.setTextAlign(align)), children: ALIGNS2.map((align) => /* @__PURE__ */ jsxRuntime.jsxs(DropdownMenuRadioItem, { value: align, indicator: /* @__PURE__ */ jsxRuntime.jsx(Check, { className: "size-4" }), children: [
|
|
4051
4470
|
/* @__PURE__ */ jsxRuntime.jsx(MenuIcon, { icon: ICONS[align] }),
|
|
4052
4471
|
labels[LABEL_KEYS[align]]
|
|
4053
4472
|
] }, align)) }) });
|
|
@@ -4070,14 +4489,14 @@ function colorCommand(key, name) {
|
|
|
4070
4489
|
function ColorPopover({ controller, state }) {
|
|
4071
4490
|
const labels = useLabels();
|
|
4072
4491
|
const value = { color: selectionColor(state, MARKS.color), background: selectionColor(state, MARKS.background) };
|
|
4073
|
-
const trigger = /* @__PURE__ */ jsxRuntime.jsx(Button, { type: "button", variant: "ghost", size: "icon-sm", "aria-label": labels.color, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4492
|
+
const trigger = /* @__PURE__ */ jsxRuntime.jsx(Button, { type: "button", variant: "ghost", size: "icon-sm", "aria-label": labels.color, children: /* @__PURE__ */ jsxRuntime.jsx(Baseline, {}) });
|
|
4074
4493
|
return /* @__PURE__ */ jsxRuntime.jsx(ToolbarMenu, { controller, trigger, children: /* @__PURE__ */ jsxRuntime.jsx(ColorGroups, { kit: DROPDOWN_KIT, value, onPick: (key, name) => controller.run(colorCommand(key, name)) }) });
|
|
4075
4494
|
}
|
|
4076
4495
|
function TurnIntoDropdown({ controller, state }) {
|
|
4077
4496
|
const labels = useLabels();
|
|
4078
4497
|
const trigger = /* @__PURE__ */ jsxRuntime.jsxs(Button, { type: "button", variant: "ghost", size: "sm", className: "gap-1 px-2 has-[>svg]:px-2", children: [
|
|
4079
4498
|
labels.turnInto,
|
|
4080
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4499
|
+
/* @__PURE__ */ jsxRuntime.jsx(ChevronDown, {})
|
|
4081
4500
|
] });
|
|
4082
4501
|
return /* @__PURE__ */ jsxRuntime.jsx(ToolbarMenu, { controller, trigger, children: /* @__PURE__ */ jsxRuntime.jsx(TurnIntoItems, { kit: DROPDOWN_KIT, controller, blockIds: chunkVZZPCYA3_cjs.selectedBlockIds(state.doc, state.selection) }) });
|
|
4083
4502
|
}
|
|
@@ -4323,9 +4742,9 @@ function LinkCard({ controller, labels, store, cardRef, element, onUnlinked }) {
|
|
|
4323
4742
|
onMouseDown: keepFocus,
|
|
4324
4743
|
children: [
|
|
4325
4744
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: ADDRESS, title: address === link.href ? void 0 : link.href, children: address }),
|
|
4326
|
-
href !== null && /* @__PURE__ */ jsxRuntime.jsx(Button, { asChild: true, variant: "ghost", size: "icon-sm", children: /* @__PURE__ */ jsxRuntime.jsx("a", { href, target: "_blank", rel: "noopener noreferrer", "aria-label": labels.linkOpen, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4327
|
-
/* @__PURE__ */ jsxRuntime.jsx(Button, { type: "button", variant: "ghost", size: "icon-sm", "aria-label": labels.linkEdit, onClick: edit2, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4328
|
-
/* @__PURE__ */ jsxRuntime.jsx(Button, { type: "button", variant: "ghost", size: "icon-sm", "aria-label": labels.linkRemove, onClick: unlink, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4745
|
+
href !== null && /* @__PURE__ */ jsxRuntime.jsx(Button, { asChild: true, variant: "ghost", size: "icon-sm", children: /* @__PURE__ */ jsxRuntime.jsx("a", { href, target: "_blank", rel: "noopener noreferrer", "aria-label": labels.linkOpen, children: /* @__PURE__ */ jsxRuntime.jsx(ExternalLink, {}) }) }),
|
|
4746
|
+
/* @__PURE__ */ jsxRuntime.jsx(Button, { type: "button", variant: "ghost", size: "icon-sm", "aria-label": labels.linkEdit, onClick: edit2, children: /* @__PURE__ */ jsxRuntime.jsx(Pencil, {}) }),
|
|
4747
|
+
/* @__PURE__ */ jsxRuntime.jsx(Button, { type: "button", variant: "ghost", size: "icon-sm", "aria-label": labels.linkRemove, onClick: unlink, children: /* @__PURE__ */ jsxRuntime.jsx(Unlink, {}) })
|
|
4329
4748
|
]
|
|
4330
4749
|
}
|
|
4331
4750
|
)
|
|
@@ -4437,9 +4856,9 @@ function LinkPopover({ controller, labels, onClose }) {
|
|
|
4437
4856
|
onChange
|
|
4438
4857
|
}
|
|
4439
4858
|
),
|
|
4440
|
-
/* @__PURE__ */ jsxRuntime.jsx(Button, { type: "submit", variant: "ghost", size: "icon-sm", "aria-label": labels.linkApply, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4441
|
-
openHref && /* @__PURE__ */ jsxRuntime.jsx(Button, { asChild: true, variant: "ghost", size: "icon-sm", children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: openHref, target: "_blank", rel: "noopener noreferrer", "aria-label": labels.linkOpen, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4442
|
-
link !== null && /* @__PURE__ */ jsxRuntime.jsx(Button, { type: "button", variant: "ghost", size: "icon-sm", "aria-label": labels.linkRemove, onClick: remove, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4859
|
+
/* @__PURE__ */ jsxRuntime.jsx(Button, { type: "submit", variant: "ghost", size: "icon-sm", "aria-label": labels.linkApply, children: /* @__PURE__ */ jsxRuntime.jsx(Check, {}) }),
|
|
4860
|
+
openHref && /* @__PURE__ */ jsxRuntime.jsx(Button, { asChild: true, variant: "ghost", size: "icon-sm", children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: openHref, target: "_blank", rel: "noopener noreferrer", "aria-label": labels.linkOpen, children: /* @__PURE__ */ jsxRuntime.jsx(ExternalLink, {}) }) }),
|
|
4861
|
+
link !== null && /* @__PURE__ */ jsxRuntime.jsx(Button, { type: "button", variant: "ghost", size: "icon-sm", "aria-label": labels.linkRemove, onClick: remove, children: /* @__PURE__ */ jsxRuntime.jsx(Unlink, {}) })
|
|
4443
4862
|
] }),
|
|
4444
4863
|
invalid && /* @__PURE__ */ jsxRuntime.jsx("p", { id: messageId, role: "alert", className: MESSAGE, children: labels.invalidLink })
|
|
4445
4864
|
]
|
|
@@ -4569,6 +4988,8 @@ function dismissSuggestion(key) {
|
|
|
4569
4988
|
|
|
4570
4989
|
// src/menus/slash/slash-key.ts
|
|
4571
4990
|
var slashKey = chunkVZZPCYA3_cjs.createPluginKey("slash");
|
|
4991
|
+
|
|
4992
|
+
// src/menus/slash/slash-items.ts
|
|
4572
4993
|
var DETAILS = {
|
|
4573
4994
|
text: { group: "basic", keywords: ["paragraph", "plain"], shortcut: "Mod-Alt-0" },
|
|
4574
4995
|
heading1: { group: "basic", keywords: ["h1", "title", "#"], shortcut: "Mod-Alt-1" },
|
|
@@ -4600,9 +5021,9 @@ function insertionItem(id, insertion, labels, definitions) {
|
|
|
4600
5021
|
function builtInSlashItems(labels, definitions) {
|
|
4601
5022
|
const { blockNames } = labels;
|
|
4602
5023
|
const insertions = {
|
|
4603
|
-
divider: { label: blockNames.divider, icon:
|
|
4604
|
-
image: { label: blockNames.image, icon:
|
|
4605
|
-
file: { label: blockNames.file, icon:
|
|
5024
|
+
divider: { label: blockNames.divider, icon: Minus, type: "DIVIDER", attrs: {} },
|
|
5025
|
+
image: { label: blockNames.image, icon: Image, type: "IMAGE", attrs: {} },
|
|
5026
|
+
file: { label: blockNames.file, icon: Paperclip, type: "FILE", attrs: {} }
|
|
4606
5027
|
};
|
|
4607
5028
|
for (const target of turnIntoTargets(labels)) insertions[target.id] = target;
|
|
4608
5029
|
return Object.keys(DETAILS).flatMap((id) => {
|
|
@@ -5058,6 +5479,8 @@ function slashExtension() {
|
|
|
5058
5479
|
ui: { overlays: [SlashOverlay] }
|
|
5059
5480
|
});
|
|
5060
5481
|
}
|
|
5482
|
+
|
|
5483
|
+
// src/mobile/mobile-items.tsx
|
|
5061
5484
|
function commandItem(id, title, icon, command) {
|
|
5062
5485
|
return { id, title, icon, run: (controller) => void controller.run(command) };
|
|
5063
5486
|
}
|
|
@@ -5067,17 +5490,17 @@ function addBlockAtCaret(controller) {
|
|
|
5067
5490
|
}
|
|
5068
5491
|
function mobileItems(labels, openLink) {
|
|
5069
5492
|
return {
|
|
5070
|
-
addBlock: { id: "add-block", title: labels.addBelow, icon:
|
|
5493
|
+
addBlock: { id: "add-block", title: labels.addBelow, icon: Plus, run: addBlockAtCaret },
|
|
5071
5494
|
editing: [
|
|
5072
|
-
markItem("bold", labels.bold,
|
|
5073
|
-
markItem("italic", labels.italic,
|
|
5074
|
-
markItem("strike", labels.strike,
|
|
5075
|
-
markItem("code", labels.code,
|
|
5495
|
+
markItem("bold", labels.bold, Bold),
|
|
5496
|
+
markItem("italic", labels.italic, Italic),
|
|
5497
|
+
markItem("strike", labels.strike, Strikethrough),
|
|
5498
|
+
markItem("code", labels.code, Code),
|
|
5076
5499
|
linkItem(labels, openLink),
|
|
5077
|
-
commandItem("indent", labels.indent,
|
|
5078
|
-
commandItem("outdent", labels.outdent,
|
|
5079
|
-
commandItem("undo", labels.undo,
|
|
5080
|
-
commandItem("redo", labels.redo,
|
|
5500
|
+
commandItem("indent", labels.indent, ListIndentIncrease, chunkVZZPCYA3_cjs.indent),
|
|
5501
|
+
commandItem("outdent", labels.outdent, ListIndentDecrease, chunkVZZPCYA3_cjs.outdent),
|
|
5502
|
+
commandItem("undo", labels.undo, Undo2, chunkVZZPCYA3_cjs.undo),
|
|
5503
|
+
commandItem("redo", labels.redo, Redo2, chunkVZZPCYA3_cjs.redo)
|
|
5081
5504
|
]
|
|
5082
5505
|
};
|
|
5083
5506
|
}
|
|
@@ -5216,7 +5639,7 @@ var DialogContent = /* @__PURE__ */ React7__namespace.forwardRef(function Dialog
|
|
|
5216
5639
|
ICON_TAP_TARGET_FLOOR
|
|
5217
5640
|
),
|
|
5218
5641
|
children: [
|
|
5219
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5642
|
+
/* @__PURE__ */ jsxRuntime.jsx(X, {}),
|
|
5220
5643
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: closeLabel })
|
|
5221
5644
|
]
|
|
5222
5645
|
}
|
|
@@ -5377,7 +5800,7 @@ function shortcutsSlashItem(labels, store) {
|
|
|
5377
5800
|
id: "shortcuts",
|
|
5378
5801
|
title: labels.shortcuts,
|
|
5379
5802
|
group: "advanced",
|
|
5380
|
-
icon:
|
|
5803
|
+
icon: Keyboard,
|
|
5381
5804
|
keywords: ["keyboard", "keys", "hotkeys", "help", "?"],
|
|
5382
5805
|
shortcut: SHORTCUT,
|
|
5383
5806
|
run: () => store.set({ shortcutsOpen: true })
|
|
@@ -5615,7 +6038,7 @@ function VoidBlock({ block, controller, definition }) {
|
|
|
5615
6038
|
"aria-label": labels.editBlock(name),
|
|
5616
6039
|
onClick: () => start(),
|
|
5617
6040
|
className: "absolute right-0 top-0 bg-background/90 opacity-0 group-hover/void:opacity-100 in-data-[selected=true]:opacity-100 pointer-coarse:opacity-100 focus-visible:opacity-100",
|
|
5618
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6041
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Pencil, { "aria-hidden": "true" })
|
|
5619
6042
|
}
|
|
5620
6043
|
)
|
|
5621
6044
|
]
|
|
@@ -6131,8 +6554,24 @@ function useAutosave({
|
|
|
6131
6554
|
return { status, error, retry: runner.retry, flush: runner.flush };
|
|
6132
6555
|
}
|
|
6133
6556
|
|
|
6557
|
+
exports.AlignCenter = AlignCenter;
|
|
6558
|
+
exports.AlignLeft = AlignLeft;
|
|
6559
|
+
exports.AlignRight = AlignRight;
|
|
6560
|
+
exports.AppWindow = AppWindow;
|
|
6561
|
+
exports.ArrowDown = ArrowDown;
|
|
6562
|
+
exports.ArrowDownToLine = ArrowDownToLine;
|
|
6563
|
+
exports.ArrowLeft = ArrowLeft;
|
|
6564
|
+
exports.ArrowLeftToLine = ArrowLeftToLine;
|
|
6565
|
+
exports.ArrowRight = ArrowRight;
|
|
6566
|
+
exports.ArrowRightToLine = ArrowRightToLine;
|
|
6567
|
+
exports.ArrowUp = ArrowUp;
|
|
6568
|
+
exports.ArrowUpToLine = ArrowUpToLine;
|
|
6134
6569
|
exports.BlockCanvas = BlockCanvas;
|
|
6570
|
+
exports.Bookmark = Bookmark;
|
|
6135
6571
|
exports.Button = Button;
|
|
6572
|
+
exports.CaseSensitive = CaseSensitive;
|
|
6573
|
+
exports.ChevronDown = ChevronDown;
|
|
6574
|
+
exports.ChevronUp = ChevronUp;
|
|
6136
6575
|
exports.DropdownMenu = DropdownMenu;
|
|
6137
6576
|
exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem;
|
|
6138
6577
|
exports.DropdownMenuContent = DropdownMenuContent;
|
|
@@ -6144,15 +6583,32 @@ exports.DropdownMenuTrigger = DropdownMenuTrigger;
|
|
|
6144
6583
|
exports.FLOATING_TOOLBAR = FLOATING_TOOLBAR;
|
|
6145
6584
|
exports.FOCUS_RING = FOCUS_RING;
|
|
6146
6585
|
exports.FilePickerButton = FilePickerButton;
|
|
6586
|
+
exports.GripHorizontal = GripHorizontal;
|
|
6587
|
+
exports.GripVertical = GripVertical;
|
|
6147
6588
|
exports.Input = Input;
|
|
6148
6589
|
exports.MENU_ITEM = MENU_ITEM;
|
|
6149
6590
|
exports.MenuIcon = MenuIcon;
|
|
6591
|
+
exports.MessageSquare = MessageSquare;
|
|
6592
|
+
exports.MessageSquarePlus = MessageSquarePlus;
|
|
6593
|
+
exports.PenLine = PenLine;
|
|
6594
|
+
exports.Plus = Plus;
|
|
6150
6595
|
exports.Popover = Popover;
|
|
6151
6596
|
exports.PopoverAnchor = PopoverAnchor;
|
|
6152
6597
|
exports.PopoverContent = PopoverContent;
|
|
6153
6598
|
exports.QuoinProvider = QuoinProvider;
|
|
6599
|
+
exports.Radical = Radical;
|
|
6600
|
+
exports.Regex = Regex;
|
|
6601
|
+
exports.SendHorizontal = SendHorizontal;
|
|
6602
|
+
exports.Sigma = Sigma;
|
|
6603
|
+
exports.SmilePlus = SmilePlus;
|
|
6604
|
+
exports.Sparkles = Sparkles;
|
|
6154
6605
|
exports.SuggestionMenu = SuggestionMenu;
|
|
6606
|
+
exports.Table = Table;
|
|
6607
|
+
exports.TableOfContents = TableOfContents;
|
|
6608
|
+
exports.Trash = Trash;
|
|
6155
6609
|
exports.UploadField = UploadField;
|
|
6610
|
+
exports.WholeWord = WholeWord;
|
|
6611
|
+
exports.X = X;
|
|
6156
6612
|
exports.blockFragment = blockFragment;
|
|
6157
6613
|
exports.bubblePart = bubblePart;
|
|
6158
6614
|
exports.cn = cn;
|
|
@@ -6190,5 +6646,5 @@ exports.useQuoin = useQuoin;
|
|
|
6190
6646
|
exports.useRangeAnchor = useRangeAnchor;
|
|
6191
6647
|
exports.useRovingFocus = useRovingFocus;
|
|
6192
6648
|
exports.virtualAnchor = virtualAnchor;
|
|
6193
|
-
//# sourceMappingURL=chunk-
|
|
6194
|
-
//# sourceMappingURL=chunk-
|
|
6649
|
+
//# sourceMappingURL=chunk-65WK575V.cjs.map
|
|
6650
|
+
//# sourceMappingURL=chunk-65WK575V.cjs.map
|