@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.mjs
CHANGED
|
@@ -536,7 +536,7 @@ var sidebarMenuButtonVariants = cva2(
|
|
|
536
536
|
// src/components/editor-shell/EditorShell.tsx
|
|
537
537
|
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
538
538
|
function EditorShell({ children }) {
|
|
539
|
-
return /* @__PURE__ */ jsx7("div", { className: "
|
|
539
|
+
return /* @__PURE__ */ jsx7("div", { className: "isolate relative w-full h-full flex flex-col min-h-0", children: /* @__PURE__ */ jsx7(SidebarProvider, { children }) });
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
// src/components/editorLayout/editorLayout.tsx
|
|
@@ -1200,9 +1200,9 @@ function EditorLayout({ children, onChange, initialTabs, onTabsChange }) {
|
|
|
1200
1200
|
onDeleteSubTab: deleteSubTab
|
|
1201
1201
|
}
|
|
1202
1202
|
),
|
|
1203
|
-
/* @__PURE__ */ jsxs6(SidebarInset, { className: "flex flex-col flex-1 min-h-0", children: [
|
|
1204
|
-
/* @__PURE__ */ jsx11("header", { className: "h-12 flex-shrink-0 border-b", children: /* @__PURE__ */ jsx11(SidebarTrigger, {}) }),
|
|
1205
|
-
/* @__PURE__ */ jsx11("div", { className: "flex-1 min-h-0 overflow-
|
|
1203
|
+
/* @__PURE__ */ jsxs6(SidebarInset, { className: "flex flex-col flex-1 min-h-0 overflow-hidden", children: [
|
|
1204
|
+
/* @__PURE__ */ jsx11("header", { className: "h-12 flex-shrink-0 border-b flex items-center px-4", children: /* @__PURE__ */ jsx11(SidebarTrigger, {}) }),
|
|
1205
|
+
/* @__PURE__ */ jsx11("div", { className: "flex-1 min-h-0 overflow-auto", children })
|
|
1206
1206
|
] })
|
|
1207
1207
|
] }) }) });
|
|
1208
1208
|
}
|
|
@@ -7726,7 +7726,9 @@ function Editor({ onChange, className, style, onTabsChange, initialTabs }) {
|
|
|
7726
7726
|
"div",
|
|
7727
7727
|
{
|
|
7728
7728
|
className: clsx2(
|
|
7729
|
-
|
|
7729
|
+
// Core editor wrapper classes
|
|
7730
|
+
"flex flex-col flex-1 min-h-0 overflow-hidden",
|
|
7731
|
+
// Consumer can override with their classes
|
|
7730
7732
|
className
|
|
7731
7733
|
),
|
|
7732
7734
|
style,
|