@mhamz.01/easyflow-texteditor 0.1.43 → 0.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +27 -24
- package/dist/index.css.map +1 -1
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -597,7 +597,7 @@ var sidebarMenuButtonVariants = (0, import_class_variance_authority2.cva)(
|
|
|
597
597
|
// src/components/editor-shell/EditorShell.tsx
|
|
598
598
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
599
599
|
function EditorShell({ children }) {
|
|
600
|
-
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "
|
|
600
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "isolate relative w-full h-full flex flex-col min-h-0", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SidebarProvider, { children }) });
|
|
601
601
|
}
|
|
602
602
|
|
|
603
603
|
// src/components/editorLayout/editorLayout.tsx
|
|
@@ -1261,9 +1261,9 @@ function EditorLayout({ children, onChange, initialTabs, onTabsChange }) {
|
|
|
1261
1261
|
onDeleteSubTab: deleteSubTab
|
|
1262
1262
|
}
|
|
1263
1263
|
),
|
|
1264
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(SidebarInset, { className: "flex flex-col flex-1 min-h-0", children: [
|
|
1265
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("header", { className: "h-12 flex-shrink-0 border-b", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(SidebarTrigger, {}) }),
|
|
1266
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "flex-1 min-h-0 overflow-
|
|
1264
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(SidebarInset, { className: "flex flex-col flex-1 min-h-0 overflow-hidden", children: [
|
|
1265
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("header", { className: "h-12 flex-shrink-0 border-b flex items-center px-4", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(SidebarTrigger, {}) }),
|
|
1266
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "flex-1 min-h-0 overflow-auto", children })
|
|
1267
1267
|
] })
|
|
1268
1268
|
] }) }) });
|
|
1269
1269
|
}
|
|
@@ -7751,7 +7751,9 @@ function Editor({ onChange, className, style, onTabsChange, initialTabs }) {
|
|
|
7751
7751
|
"div",
|
|
7752
7752
|
{
|
|
7753
7753
|
className: (0, import_clsx2.default)(
|
|
7754
|
-
|
|
7754
|
+
// Core editor wrapper classes
|
|
7755
|
+
"flex flex-col flex-1 min-h-0 overflow-hidden",
|
|
7756
|
+
// Consumer can override with their classes
|
|
7755
7757
|
className
|
|
7756
7758
|
),
|
|
7757
7759
|
style,
|