@collabchron/notiq 1.0.7 → 1.1.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/README.md CHANGED
@@ -1,11 +1,29 @@
1
1
  <div align="center">
2
2
  <img src="public/logo.png" alt="Notiq Logo" width="120" />
3
3
  <h1>Notiq</h1>
4
+
5
+ [![Tests](https://github.com/chinonsochikelue/notiq/workflows/Tests/badge.svg)](
6
+ https://github.com/chinonsochikelue/notiq/actions/workflows/tests.yml
7
+ )
8
+ [![Codacy Badge](https://app.codacy.com/project/badge/Grade/e6fe4b9f635b46ccb38e5852fac10343)](https://app.codacy.com/gh/chinonsochikelue/notiq/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
9
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
10
+ ![npm](https://img.shields.io/npm/dt/@collabchron/notiq)
11
+ ![npm](https://badge.fury.io/js/@collabchron%2Fnotiq.svg)
12
+ ![Repo Size](https://img.shields.io/github/repo-size/chinonsochikelue/notiq)
13
+ ![Repo Stars](https://img.shields.io/github/stars/chinonsochikelue/notiq)
14
+ ![Repo Watchers](https://img.shields.io/github/watchers/chinonsochikelue/notiq)
15
+ ![Repo Forks](https://img.shields.io/github/forks/chinonsochikelue/notiq)
16
+ ![Repo Open Issues](https://img.shields.io/github/issues/chinonsochikelue/notiq)
17
+ ![Repo Open Pull Requests](https://img.shields.io/github/issues-pr/chinonsochikelue/notiq)
18
+ ![Repo Visitors](https://api.visitorbadge.io/api/VisitorHit?user=chinonsochikelue&repo=notiq&countColor=%237B1E7A)
19
+
4
20
  <p>
5
21
  <strong>A powerful, AI-enhanced rich text editor built with Lexical, Next.js, TypeScript, and Tailwind CSS.</strong>
6
22
  </p>
7
23
  <p>
8
- Create beautiful documents with intelligent writing assistance and advanced content blocks.
24
+ <a href="https://notiq-editor.vercel.app">Documentation</a>
25
+ <a href="https://notiq-editor.vercel.app/docs">Live Demo</a> •
26
+ <a href="https://github.com/chinonsochikelue/notiq/issues">Report Bug</a>
9
27
  </p>
10
28
  </div>
11
29
 
@@ -242,7 +260,7 @@ MIT License - see the [LICENSE](LICENSE) file for details.
242
260
 
243
261
  ## 🆘 Support
244
262
 
245
- - 📖 [Documentation](https://github.com/chinonsochikelue/notiq)
263
+ - 📖 [Documentation](https://notiq-editor.vercel.app)
246
264
  - 🐛 [Report Issues](https://github.com/chinonsochikelue/notiq/issues)
247
265
  - 💬 [Discussions](https://github.com/chinonsochikelue/notiq/discussions)
248
266
 
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ExcalidrawModal
3
- } from "./chunk-PEYOQP5W.mjs";
3
+ } from "./chunk-WAK5JGNJ.mjs";
4
4
  import {
5
5
  $isExcalidrawNode
6
- } from "./chunk-CG4BHAVO.mjs";
6
+ } from "./chunk-HJPPNHYM.mjs";
7
7
  import "./chunk-WDG7J2DY.mjs";
8
8
  import "./chunk-BIU7WTLX.mjs";
9
9
  import "./chunk-YHPNOWFH.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ExcalidrawPlugin,
3
3
  INSERT_EXCALIDRAW_COMMAND
4
- } from "./chunk-TNOYW3SX.mjs";
5
- import "./chunk-PEYOQP5W.mjs";
6
- import "./chunk-CG4BHAVO.mjs";
4
+ } from "./chunk-RBWZGXPF.mjs";
5
+ import "./chunk-WAK5JGNJ.mjs";
6
+ import "./chunk-HJPPNHYM.mjs";
7
7
  import "./chunk-WDG7J2DY.mjs";
8
8
  import "./chunk-BIU7WTLX.mjs";
9
9
  import "./chunk-YHPNOWFH.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  FloatingTextFormatToolbarPlugin
3
- } from "./chunk-SC23DVLK.mjs";
3
+ } from "./chunk-NOJDE3CE.mjs";
4
4
  import "./chunk-Z4EWP7BI.mjs";
5
5
  import "./chunk-4HBCVSE6.mjs";
6
6
  import "./chunk-K36V4SIW.mjs";
@@ -12,7 +12,7 @@ import "./chunk-KJ6AJ44Q.mjs";
12
12
  import "./chunk-64Z3FI7T.mjs";
13
13
  import "./chunk-2FNEAMSP.mjs";
14
14
  import "./chunk-YUDCJRJM.mjs";
15
- import "./chunk-ACER22EH.mjs";
15
+ import "./chunk-NZXC6FGU.mjs";
16
16
  import "./chunk-GXYD4VZM.mjs";
17
17
  import "./chunk-ZB5LZQKC.mjs";
18
18
  import "./chunk-PZSUSXQG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SlashCommand
3
- } from "./chunk-NWK2NBE6.mjs";
3
+ } from "./chunk-V2NIZOSQ.mjs";
4
4
  import "./chunk-KJ6AJ44Q.mjs";
5
5
  import "./chunk-DSFQHA7I.mjs";
6
6
  import "./chunk-U47ABU5Z.mjs";
@@ -8,7 +8,7 @@ import "./chunk-AMMKBSST.mjs";
8
8
  import "./chunk-5QSNIVIG.mjs";
9
9
  import "./chunk-LGG4IUIA.mjs";
10
10
  import "./chunk-5BAKY5KN.mjs";
11
- import "./chunk-ACER22EH.mjs";
11
+ import "./chunk-NZXC6FGU.mjs";
12
12
  import "./chunk-GXYD4VZM.mjs";
13
13
  import "./chunk-ZB5LZQKC.mjs";
14
14
  import "./chunk-N3WN46VL.mjs";
@@ -960,7 +960,7 @@ var TextFormat = dynamic(
960
960
  () => import("./text-format-BG5WOOPZ.mjs")
961
961
  );
962
962
  var InsertNode = dynamic(
963
- () => import("./insert-node-6UDWGJ73.mjs")
963
+ () => import("./insert-node-WXW4ZER4.mjs")
964
964
  );
965
965
  var TextAlign = dynamic(
966
966
  () => import("./text-align-VLECWO4H.mjs")
@@ -1506,8 +1506,9 @@ function ToolbarPlugin({
1506
1506
  "nav",
1507
1507
  {
1508
1508
  className: cn(
1509
- "z-40 left-0 w-full hidden md:block"
1509
+ "left-0 w-full hidden md:block",
1510
1510
  // Hide on mobile, show on desktop
1511
+ customClassName
1511
1512
  )
1512
1513
  },
1513
1514
  /* @__PURE__ */ React2.createElement("div", { className: "flex justify-center pt-4" }, /* @__PURE__ */ React2.createElement(
@@ -1517,8 +1518,7 @@ function ToolbarPlugin({
1517
1518
  "group flex flex-row items-center bg-background/70 gap-x-2 dark:border dark:border-gray-500/20",
1518
1519
  "md:rounded-2xl rounded-md h-14 px-4 py-2 shadow-md",
1519
1520
  "overflow-x-auto whitespace-nowrap max-w-[90%] scrollbar-none",
1520
- "[&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]",
1521
- customClassName
1521
+ "[&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]"
1522
1522
  )
1523
1523
  },
1524
1524
  toolbarState.blockType === "code" ? /* @__PURE__ */ React2.createElement(
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-5BAKY5KN.mjs";
14
14
  import {
15
15
  StepperNode
16
- } from "./chunk-ACER22EH.mjs";
16
+ } from "./chunk-NZXC6FGU.mjs";
17
17
  import {
18
18
  CollapsibleContainerNode,
19
19
  CollapsibleContentNode,
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-G53GLEAY.mjs";
31
31
  import {
32
32
  ExcalidrawNode
33
- } from "./chunk-CG4BHAVO.mjs";
33
+ } from "./chunk-HJPPNHYM.mjs";
34
34
  import {
35
35
  EquationNode
36
36
  } from "./chunk-3JVFG7ER.mjs";
@@ -8,7 +8,7 @@ import {
8
8
  init_react_shim();
9
9
  import { DecoratorNode } from "lexical";
10
10
  import * as React from "react";
11
- var ExcalidrawComponent = React.lazy(() => import("./ExcalidrawComponent-4WAI5JRK.mjs"));
11
+ var ExcalidrawComponent = React.lazy(() => import("./ExcalidrawComponent-LUZJNFWV.mjs"));
12
12
  function $convertExcalidrawElement(domNode) {
13
13
  const excalidrawData = domNode.getAttribute("data-lexical-excalidraw-json");
14
14
  const styleAttributes = window.getComputedStyle(domNode);
@@ -38,7 +38,7 @@ import {
38
38
  } from "./chunk-YUDCJRJM.mjs";
39
39
  import {
40
40
  $createStepperNode
41
- } from "./chunk-ACER22EH.mjs";
41
+ } from "./chunk-NZXC6FGU.mjs";
42
42
  import {
43
43
  CollapsibleContainerNode,
44
44
  CollapsibleTitleNode
@@ -17,7 +17,7 @@ import {
17
17
  } from "lexical";
18
18
  import React, { Suspense, useEffect } from "react";
19
19
  var StepperComponent = React.lazy(
20
- () => import("./stepper-IV5MYBK2.mjs")
20
+ () => import("./stepper-JDEE26TX.mjs")
21
21
  );
22
22
  var initialEditorState = {
23
23
  root: {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ExcalidrawModal
3
- } from "./chunk-PEYOQP5W.mjs";
3
+ } from "./chunk-WAK5JGNJ.mjs";
4
4
  import {
5
5
  $createExcalidrawNode,
6
6
  ExcalidrawNode
7
- } from "./chunk-CG4BHAVO.mjs";
7
+ } from "./chunk-HJPPNHYM.mjs";
8
8
  import {
9
9
  React,
10
10
  init_react_shim
@@ -33,7 +33,7 @@ import {
33
33
  import {
34
34
  INSERT_STEPPER_COMMAND,
35
35
  initialEditorState
36
- } from "./chunk-ACER22EH.mjs";
36
+ } from "./chunk-NZXC6FGU.mjs";
37
37
  import {
38
38
  SHORTCUTS
39
39
  } from "./chunk-ZB5LZQKC.mjs";
@@ -282,7 +282,7 @@ function ExcalidrawModal({
282
282
  className: "flex items-center justify-between border-t border-gray-200 bg-gray-50 px-6 py-4 dark:border-gray-800 dark:bg-gray-800/50",
283
283
  variants: actionsVariants
284
284
  },
285
- /* @__PURE__ */ React.createElement("div", { className: "flex hidden md:block items-center space-x-2 text-sm text-gray-500 dark:text-gray-400" }, /* @__PURE__ */ React.createElement("div", { className: "flex hidden md:block items-center space-x-1" }, /* @__PURE__ */ React.createElement("kbd", { className: "rounded bg-gray-200 px-2 py-1 text-xs font-mono dark:bg-gray-700" }, "Ctrl"), /* @__PURE__ */ React.createElement("span", null, "+"), /* @__PURE__ */ React.createElement("kbd", { className: "rounded bg-gray-200 px-2 py-1 text-xs font-mono dark:bg-gray-700" }, "S"), /* @__PURE__ */ React.createElement("span", { className: "ml-1" }, "to save")), /* @__PURE__ */ React.createElement("span", { className: "text-gray-300 dark:text-gray-600" }, "\u2022"), /* @__PURE__ */ React.createElement("div", { className: "flex hidden md:block items-center space-x-1" }, /* @__PURE__ */ React.createElement("kbd", { className: "rounded bg-gray-200 px-2 py-1 text-xs font-mono dark:bg-gray-700" }, "Esc"), /* @__PURE__ */ React.createElement("span", { className: "ml-1" }, "to close"))),
285
+ /* @__PURE__ */ React.createElement("div", { className: "hidden md:flex items-center space-x-2 text-sm text-gray-500 dark:text-gray-400" }, /* @__PURE__ */ React.createElement("div", { className: "hidden md:flex items-center space-x-1" }, /* @__PURE__ */ React.createElement("kbd", { className: "rounded bg-gray-200 px-2 py-1 text-xs font-mono dark:bg-gray-700" }, "Ctrl"), /* @__PURE__ */ React.createElement("span", null, "+"), /* @__PURE__ */ React.createElement("kbd", { className: "rounded bg-gray-200 px-2 py-1 text-xs font-mono dark:bg-gray-700" }, "S"), /* @__PURE__ */ React.createElement("span", { className: "ml-1" }, "to save")), /* @__PURE__ */ React.createElement("span", { className: "text-gray-300 dark:text-gray-600" }, "\u2022"), /* @__PURE__ */ React.createElement("div", { className: "hidden md:flex items-center space-x-1" }, /* @__PURE__ */ React.createElement("kbd", { className: "rounded bg-gray-200 px-2 py-1 text-xs font-mono dark:bg-gray-700" }, "Esc"), /* @__PURE__ */ React.createElement("span", { className: "ml-1" }, "to close"))),
286
286
  /* @__PURE__ */ React.createElement("div", { className: "flex items-center space-x-3" }, /* @__PURE__ */ React.createElement(
287
287
  Button,
288
288
  {
package/dist/index.js CHANGED
@@ -193,42 +193,6 @@ var init_ToolbarContext = __esm({
193
193
  }
194
194
  });
195
195
 
196
- // src/lib/utils.ts
197
- function cn(...inputs) {
198
- return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
199
- }
200
- var import_clsx, import_tailwind_merge;
201
- var init_utils = __esm({
202
- "src/lib/utils.ts"() {
203
- "use strict";
204
- init_react_shim();
205
- import_clsx = require("clsx");
206
- import_tailwind_merge = require("tailwind-merge");
207
- }
208
- });
209
-
210
- // src/components/ui/skeleton.tsx
211
- function Skeleton(_a2) {
212
- var _b = _a2, {
213
- className
214
- } = _b, props = __objRest(_b, [
215
- "className"
216
- ]);
217
- return /* @__PURE__ */ React.createElement(
218
- "div",
219
- __spreadValues({
220
- className: cn("animate-pulse rounded-md bg-primary/10", className)
221
- }, props)
222
- );
223
- }
224
- var init_skeleton = __esm({
225
- "src/components/ui/skeleton.tsx"() {
226
- "use strict";
227
- init_react_shim();
228
- init_utils();
229
- }
230
- });
231
-
232
196
  // src/components/ui/image/error-image.tsx
233
197
  function ErrorImage() {
234
198
  return /* @__PURE__ */ import_react3.default.createElement(
@@ -337,7 +301,7 @@ function ImageResizer({
337
301
  if (image !== null && controlWrapper !== null) {
338
302
  event.preventDefault();
339
303
  const { width, height } = image.getBoundingClientRect();
340
- const zoom = (0, import_utils2.calculateZoomLevel)(image);
304
+ const zoom = (0, import_utils.calculateZoomLevel)(image);
341
305
  const positioning = positioningRef.current;
342
306
  positioning.startWidth = width;
343
307
  positioning.startHeight = height;
@@ -362,7 +326,7 @@ function ImageResizer({
362
326
  const isHorizontal = positioning.direction & (Direction.east | Direction.west);
363
327
  const isVertical = positioning.direction & (Direction.south | Direction.north);
364
328
  if (image !== null && positioning.isResizing) {
365
- const zoom = (0, import_utils2.calculateZoomLevel)(image);
329
+ const zoom = (0, import_utils.calculateZoomLevel)(image);
366
330
  if (isHorizontal && isVertical) {
367
331
  let diff = Math.floor(positioning.startX - event.clientX / zoom);
368
332
  diff = positioning.direction & Direction.east ? -diff : diff;
@@ -506,14 +470,14 @@ function ImageResizer({
506
470
  )
507
471
  );
508
472
  }
509
- var React5, import_react4, import_utils2, Direction;
473
+ var React5, import_react4, import_utils, Direction;
510
474
  var init_image_resizer = __esm({
511
475
  "src/components/ui/image/image-resizer.tsx"() {
512
476
  "use strict";
513
477
  init_react_shim();
514
478
  React5 = __toESM(require("react"));
515
479
  import_react4 = require("react");
516
- import_utils2 = require("@lexical/utils");
480
+ import_utils = require("@lexical/utils");
517
481
  Direction = {
518
482
  east: 1 << 0,
519
483
  north: 1 << 3,
@@ -523,6 +487,42 @@ var init_image_resizer = __esm({
523
487
  }
524
488
  });
525
489
 
490
+ // src/lib/utils.ts
491
+ function cn(...inputs) {
492
+ return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
493
+ }
494
+ var import_clsx, import_tailwind_merge;
495
+ var init_utils = __esm({
496
+ "src/lib/utils.ts"() {
497
+ "use strict";
498
+ init_react_shim();
499
+ import_clsx = require("clsx");
500
+ import_tailwind_merge = require("tailwind-merge");
501
+ }
502
+ });
503
+
504
+ // src/components/ui/skeleton.tsx
505
+ function Skeleton(_a2) {
506
+ var _b = _a2, {
507
+ className
508
+ } = _b, props = __objRest(_b, [
509
+ "className"
510
+ ]);
511
+ return /* @__PURE__ */ React.createElement(
512
+ "div",
513
+ __spreadValues({
514
+ className: cn("animate-pulse rounded-md bg-primary/10", className)
515
+ }, props)
516
+ );
517
+ }
518
+ var init_skeleton = __esm({
519
+ "src/components/ui/skeleton.tsx"() {
520
+ "use strict";
521
+ init_react_shim();
522
+ init_utils();
523
+ }
524
+ });
525
+
526
526
  // src/components/ui/image/lazy-image.tsx
527
527
  function LazyImage({
528
528
  altText,
@@ -6179,7 +6179,7 @@ function ExcalidrawModal({
6179
6179
  className: "flex items-center justify-between border-t border-gray-200 bg-gray-50 px-6 py-4 dark:border-gray-800 dark:bg-gray-800/50",
6180
6180
  variants: actionsVariants
6181
6181
  },
6182
- /* @__PURE__ */ React35.createElement("div", { className: "flex hidden md:block items-center space-x-2 text-sm text-gray-500 dark:text-gray-400" }, /* @__PURE__ */ React35.createElement("div", { className: "flex hidden md:block items-center space-x-1" }, /* @__PURE__ */ React35.createElement("kbd", { className: "rounded bg-gray-200 px-2 py-1 text-xs font-mono dark:bg-gray-700" }, "Ctrl"), /* @__PURE__ */ React35.createElement("span", null, "+"), /* @__PURE__ */ React35.createElement("kbd", { className: "rounded bg-gray-200 px-2 py-1 text-xs font-mono dark:bg-gray-700" }, "S"), /* @__PURE__ */ React35.createElement("span", { className: "ml-1" }, "to save")), /* @__PURE__ */ React35.createElement("span", { className: "text-gray-300 dark:text-gray-600" }, "\u2022"), /* @__PURE__ */ React35.createElement("div", { className: "flex hidden md:block items-center space-x-1" }, /* @__PURE__ */ React35.createElement("kbd", { className: "rounded bg-gray-200 px-2 py-1 text-xs font-mono dark:bg-gray-700" }, "Esc"), /* @__PURE__ */ React35.createElement("span", { className: "ml-1" }, "to close"))),
6182
+ /* @__PURE__ */ React35.createElement("div", { className: "hidden md:flex items-center space-x-2 text-sm text-gray-500 dark:text-gray-400" }, /* @__PURE__ */ React35.createElement("div", { className: "hidden md:flex items-center space-x-1" }, /* @__PURE__ */ React35.createElement("kbd", { className: "rounded bg-gray-200 px-2 py-1 text-xs font-mono dark:bg-gray-700" }, "Ctrl"), /* @__PURE__ */ React35.createElement("span", null, "+"), /* @__PURE__ */ React35.createElement("kbd", { className: "rounded bg-gray-200 px-2 py-1 text-xs font-mono dark:bg-gray-700" }, "S"), /* @__PURE__ */ React35.createElement("span", { className: "ml-1" }, "to save")), /* @__PURE__ */ React35.createElement("span", { className: "text-gray-300 dark:text-gray-600" }, "\u2022"), /* @__PURE__ */ React35.createElement("div", { className: "hidden md:flex items-center space-x-1" }, /* @__PURE__ */ React35.createElement("kbd", { className: "rounded bg-gray-200 px-2 py-1 text-xs font-mono dark:bg-gray-700" }, "Esc"), /* @__PURE__ */ React35.createElement("span", { className: "ml-1" }, "to close"))),
6183
6183
  /* @__PURE__ */ React35.createElement("div", { className: "flex items-center space-x-3" }, /* @__PURE__ */ React35.createElement(
6184
6184
  Button,
6185
6185
  {
@@ -55196,8 +55196,9 @@ function ToolbarPlugin({
55196
55196
  "nav",
55197
55197
  {
55198
55198
  className: cn(
55199
- "z-40 left-0 w-full hidden md:block"
55199
+ "left-0 w-full hidden md:block",
55200
55200
  // Hide on mobile, show on desktop
55201
+ customClassName
55201
55202
  )
55202
55203
  },
55203
55204
  /* @__PURE__ */ import_react92.default.createElement("div", { className: "flex justify-center pt-4" }, /* @__PURE__ */ import_react92.default.createElement(
@@ -55207,8 +55208,7 @@ function ToolbarPlugin({
55207
55208
  "group flex flex-row items-center bg-background/70 gap-x-2 dark:border dark:border-gray-500/20",
55208
55209
  "md:rounded-2xl rounded-md h-14 px-4 py-2 shadow-md",
55209
55210
  "overflow-x-auto whitespace-nowrap max-w-[90%] scrollbar-none",
55210
- "[&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]",
55211
- customClassName
55211
+ "[&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]"
55212
55212
  )
55213
55213
  },
55214
55214
  toolbarState.blockType === "code" ? /* @__PURE__ */ import_react92.default.createElement(
@@ -56302,7 +56302,6 @@ init_SharedHistoryContext();
56302
56302
  var import_useLexicalEditable9 = require("@lexical/react/useLexicalEditable");
56303
56303
  var import_LexicalComposerContext44 = require("@lexical/react/LexicalComposerContext");
56304
56304
  var import_dynamic2 = __toESM(require("next/dynamic.js"));
56305
- init_skeleton();
56306
56305
  var import_LexicalRichTextPlugin4 = require("@lexical/react/LexicalRichTextPlugin");
56307
56306
  var import_LexicalContentEditable5 = require("@lexical/react/LexicalContentEditable");
56308
56307
  var import_LexicalErrorBoundary5 = require("@lexical/react/LexicalErrorBoundary");
@@ -57335,7 +57334,7 @@ function ContentAnalyticsPlugin() {
57335
57334
  var SlashCommand2 = (0, import_dynamic2.default)(() => Promise.resolve().then(() => (init_SlashCommand(), SlashCommand_exports)), { ssr: false });
57336
57335
  var ToolbarPlugin2 = (0, import_dynamic2.default)(() => Promise.resolve().then(() => (init_ToolbarPlugin(), ToolbarPlugin_exports)), {
57337
57336
  ssr: false,
57338
- loading: () => /* @__PURE__ */ React.createElement("div", { className: "hidden md:block fixed top-14 md:top-20 left-0 right-0 z-50 flex justify-center p-4" }, /* @__PURE__ */ React.createElement(Skeleton, { className: "h-12 w-full max-w-6xl rounded-2xl" }))
57337
+ loading: () => /* @__PURE__ */ React.createElement("div", { className: "hidden md:block w-full flex justify-center p-4" })
57339
57338
  });
57340
57339
  var ExportPlugin2 = (0, import_dynamic2.default)(() => Promise.resolve().then(() => (init_ExportPlugin(), ExportPlugin_exports)), { ssr: false });
57341
57340
  var TemplatePlugin2 = (0, import_dynamic2.default)(() => Promise.resolve().then(() => (init_TemplatePlugin(), TemplatePlugin_exports)), { ssr: false });
@@ -57555,8 +57554,7 @@ function Core({
57555
57554
  activeEditor,
57556
57555
  setActiveEditor,
57557
57556
  setIsLinkEditMode,
57558
- toolbarConfig,
57559
- className: "fixed z-40 md:top-40"
57557
+ toolbarConfig
57560
57558
  }
57561
57559
  ), isEditable && /* @__PURE__ */ React.createElement(ContentAnalyticsPlugin, null), /* @__PURE__ */ React.createElement("div", { className: cn(
57562
57560
  "flex justify-center w-full min-h-screen transition-all duration-300",
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  LexicalAutoLinkPlugin,
7
7
  LinkWithMetaDataPlugin,
8
8
  nodes_default
9
- } from "./chunk-2HRNVYE4.mjs";
9
+ } from "./chunk-4GFXER7R.mjs";
10
10
  import {
11
11
  Progress,
12
12
  UploadProvider,
@@ -41,7 +41,7 @@ import {
41
41
  } from "./chunk-YUDCJRJM.mjs";
42
42
  import {
43
43
  StepperPlugin
44
- } from "./chunk-ACER22EH.mjs";
44
+ } from "./chunk-NZXC6FGU.mjs";
45
45
  import "./chunk-GXYD4VZM.mjs";
46
46
  import {
47
47
  CAN_USE_DOM,
@@ -94,9 +94,7 @@ import {
94
94
  useSharedHistoryContext
95
95
  } from "./chunk-4EXYCTGJ.mjs";
96
96
  import "./chunk-N3WN46VL.mjs";
97
- import {
98
- Skeleton
99
- } from "./chunk-QEIFVK5M.mjs";
97
+ import "./chunk-QEIFVK5M.mjs";
100
98
  import "./chunk-GZPNVR7L.mjs";
101
99
  import {
102
100
  HintPlugin
@@ -105,7 +103,7 @@ import "./chunk-YPHOEJ46.mjs";
105
103
  import {
106
104
  sanitizeUrl
107
105
  } from "./chunk-4VWFVWYP.mjs";
108
- import "./chunk-CG4BHAVO.mjs";
106
+ import "./chunk-HJPPNHYM.mjs";
109
107
  import "./chunk-3JVFG7ER.mjs";
110
108
  import "./chunk-4MEDW3T6.mjs";
111
109
  import {
@@ -1278,14 +1276,14 @@ function ContentAnalyticsPlugin() {
1278
1276
  }
1279
1277
 
1280
1278
  // src/components/editor/Core.tsx
1281
- var SlashCommand = dynamic(() => import("./SlashCommand-ZSIZP5NN.mjs"), { ssr: false });
1282
- var ToolbarPlugin = dynamic(() => import("./ToolbarPlugin-3J4KBHLU.mjs"), {
1279
+ var SlashCommand = dynamic(() => import("./SlashCommand-FHEWHFZU.mjs"), { ssr: false });
1280
+ var ToolbarPlugin = dynamic(() => import("./ToolbarPlugin-2VP7FDWD.mjs"), {
1283
1281
  ssr: false,
1284
- loading: () => /* @__PURE__ */ React.createElement("div", { className: "hidden md:block fixed top-14 md:top-20 left-0 right-0 z-50 flex justify-center p-4" }, /* @__PURE__ */ React.createElement(Skeleton, { className: "h-12 w-full max-w-6xl rounded-2xl" }))
1282
+ loading: () => /* @__PURE__ */ React.createElement("div", { className: "hidden md:block w-full flex justify-center p-4" })
1285
1283
  });
1286
1284
  var ExportPlugin = dynamic(() => import("./ExportPlugin-V2RLM63S.mjs"), { ssr: false });
1287
1285
  var TemplatePlugin = dynamic(() => import("./TemplatePlugin-ZD3QEVTI.mjs"), { ssr: false });
1288
- var ExcalidrawPlugin = dynamic(() => import("./ExcalidrawPlugin-QLZEQFV6.mjs"), {
1286
+ var ExcalidrawPlugin = dynamic(() => import("./ExcalidrawPlugin-HC2L43YG.mjs"), {
1289
1287
  ssr: false
1290
1288
  });
1291
1289
  var FloatingLinkEditorPlugin = dynamic(() => import("./FloatingLinkEditorPlugin-TRTCMSP4.mjs"), {
@@ -1299,7 +1297,7 @@ var TableHoverActionsPlugin = dynamic(() => import("./TableHoverActionsPlugin-GJ
1299
1297
  });
1300
1298
  var CodeActionMenuPlugin = dynamic(() => import("./CodeActionMenuPlugin-EINOY4U4.mjs"), { ssr: false });
1301
1299
  var FloatingTextFormatToolbarPlugin = dynamic(
1302
- () => import("./FloatingTextFormatToolbarPlugin-V5QPQUKU.mjs"),
1300
+ () => import("./FloatingTextFormatToolbarPlugin-ENECEZSX.mjs"),
1303
1301
  { ssr: false }
1304
1302
  );
1305
1303
  var QUOTES = [
@@ -1501,8 +1499,7 @@ function Core({
1501
1499
  activeEditor,
1502
1500
  setActiveEditor,
1503
1501
  setIsLinkEditMode,
1504
- toolbarConfig,
1505
- className: "fixed z-40 md:top-40"
1502
+ toolbarConfig
1506
1503
  }
1507
1504
  ), isEditable && /* @__PURE__ */ React.createElement(ContentAnalyticsPlugin, null), /* @__PURE__ */ React.createElement("div", { className: cn(
1508
1505
  "flex justify-center w-full min-h-screen transition-all duration-300",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  INSERT_EXCALIDRAW_COMMAND
3
- } from "./chunk-TNOYW3SX.mjs";
3
+ } from "./chunk-RBWZGXPF.mjs";
4
4
  import {
5
5
  DropDown
6
6
  } from "./chunk-EGMI62PP.mjs";
@@ -28,8 +28,8 @@ import {
28
28
  import {
29
29
  INSERT_HINT_COMMAND
30
30
  } from "./chunk-G53GLEAY.mjs";
31
- import "./chunk-PEYOQP5W.mjs";
32
- import "./chunk-CG4BHAVO.mjs";
31
+ import "./chunk-WAK5JGNJ.mjs";
32
+ import "./chunk-HJPPNHYM.mjs";
33
33
  import "./chunk-POGRR73N.mjs";
34
34
  import "./chunk-WDG7J2DY.mjs";
35
35
  import "./chunk-BIU7WTLX.mjs";
@@ -8,10 +8,10 @@ import {
8
8
  } from "./chunk-QHIQKMVN.mjs";
9
9
  import {
10
10
  SlashCommand
11
- } from "./chunk-NWK2NBE6.mjs";
11
+ } from "./chunk-V2NIZOSQ.mjs";
12
12
  import {
13
13
  FloatingTextFormatToolbarPlugin
14
- } from "./chunk-SC23DVLK.mjs";
14
+ } from "./chunk-NOJDE3CE.mjs";
15
15
  import "./chunk-Z4EWP7BI.mjs";
16
16
  import "./chunk-4HBCVSE6.mjs";
17
17
  import "./chunk-K36V4SIW.mjs";
@@ -27,7 +27,7 @@ import {
27
27
  LexicalAutoLinkPlugin,
28
28
  LinkWithMetaDataPlugin,
29
29
  nestedNodes
30
- } from "./chunk-2HRNVYE4.mjs";
30
+ } from "./chunk-4GFXER7R.mjs";
31
31
  import "./chunk-DSFQHA7I.mjs";
32
32
  import "./chunk-U47ABU5Z.mjs";
33
33
  import "./chunk-AMMKBSST.mjs";
@@ -40,7 +40,7 @@ import "./chunk-YUDCJRJM.mjs";
40
40
  import {
41
41
  $isStepperNode,
42
42
  initialEditorState
43
- } from "./chunk-ACER22EH.mjs";
43
+ } from "./chunk-NZXC6FGU.mjs";
44
44
  import "./chunk-GXYD4VZM.mjs";
45
45
  import "./chunk-ZB5LZQKC.mjs";
46
46
  import "./chunk-PZSUSXQG.mjs";
@@ -55,7 +55,7 @@ import "./chunk-GZPNVR7L.mjs";
55
55
  import "./chunk-G53GLEAY.mjs";
56
56
  import "./chunk-YPHOEJ46.mjs";
57
57
  import "./chunk-4VWFVWYP.mjs";
58
- import "./chunk-CG4BHAVO.mjs";
58
+ import "./chunk-HJPPNHYM.mjs";
59
59
  import "./chunk-3JVFG7ER.mjs";
60
60
  import "./chunk-3CPBODXA.mjs";
61
61
  import "./chunk-4MEDW3T6.mjs";