@hachej/boring-workspace 0.1.60 → 0.1.62
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/{FileTree-BMXXbAgy.js → FileTree-zGmxifl_.js} +1 -1
- package/dist/{MarkdownEditor-P47F3En6.js → MarkdownEditor-BykEKKxv.js} +1 -1
- package/dist/{WorkspaceLoadingState-D9v0oLDq.js → WorkspaceLoadingState-Dfnk7JjR.js} +3 -3
- package/dist/{WorkspaceProvider-Dxvh_Faj.js → WorkspaceProvider-kf-pjz6V.js} +617 -588
- package/dist/app-front.js +1205 -1155
- package/dist/app-server.d.ts +12 -3
- package/dist/app-server.js +38 -21
- package/dist/boring-workspace.css +1 -1
- package/dist/{runtimeEnv-XVFZ1OkV.d.ts → runtimeEnv-B8XJz-k4.d.ts} +1 -1
- package/dist/server.d.ts +3 -2
- package/dist/server.js +2 -1
- package/dist/testing.js +1 -1
- package/dist/workspace.css +105 -1
- package/dist/workspace.js +5 -5
- package/package.json +4 -4
|
@@ -2,7 +2,7 @@ import { jsx as d, jsxs as y } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as C, useMemo as I, useEffect as M, useCallback as k, createContext as E, useContext as J } from "react";
|
|
3
3
|
import { Tree as K } from "react-arborist";
|
|
4
4
|
import { FolderOpenIcon as U, FolderIcon as V, ChevronRightIcon as X, Loader2Icon as Y } from "lucide-react";
|
|
5
|
-
import { a2 as Z } from "./WorkspaceProvider-
|
|
5
|
+
import { a2 as Z } from "./WorkspaceProvider-kf-pjz6V.js";
|
|
6
6
|
import { EmptyState as G, Input as H } from "@hachej/boring-ui-kit";
|
|
7
7
|
import { c as g } from "./utils-B6yFEsav.js";
|
|
8
8
|
import { createDragDropManager as Q } from "dnd-core";
|
|
@@ -15,7 +15,7 @@ import { TableHeader as mt } from "@tiptap/extension-table-header";
|
|
|
15
15
|
import { TableCell as ht } from "@tiptap/extension-table-cell";
|
|
16
16
|
import wt from "@tiptap/extension-image";
|
|
17
17
|
import { c as B } from "./utils-B6yFEsav.js";
|
|
18
|
-
import { ac as V, aF as X, p as kt } from "./WorkspaceProvider-
|
|
18
|
+
import { ac as V, aF as X, p as kt } from "./WorkspaceProvider-kf-pjz6V.js";
|
|
19
19
|
import { uploadFile as bt } from "@hachej/boring-agent/front";
|
|
20
20
|
import vt from "@tiptap/extension-code-block-lowlight";
|
|
21
21
|
import { createLowlight as It, common as xt } from "lowlight";
|
|
@@ -3,7 +3,7 @@ import { useState as j, useMemo as R, useCallback as k, useRef as H, useEffect a
|
|
|
3
3
|
import { IconButton as te, LoadingState as We, ResizeHandle as Oe, Button as Ie, Kbd as ze } from "@hachej/boring-ui-kit";
|
|
4
4
|
import { Minimize2 as Re, Maximize2 as Be, PanelRightClose as Le, PanelRightOpen as Me, MessageSquare as Ae, Search as De, Plus as Ee } from "lucide-react";
|
|
5
5
|
import { c as b } from "./utils-B6yFEsav.js";
|
|
6
|
-
import { b3 as pe, az as Te, aI as Ke, ag as He, ar as je, Z as Fe, aL as ge, a$ as Ve, al as $e, b4 as qe, u as Ue, aC as Xe } from "./WorkspaceProvider-
|
|
6
|
+
import { b3 as pe, az as Te, aI as Ke, ag as He, ar as je, Z as Fe, aL as ge, a$ as Ve, al as $e, b4 as qe, u as Ue, aC as Xe } from "./WorkspaceProvider-kf-pjz6V.js";
|
|
7
7
|
function lt(e, t, r = !0) {
|
|
8
8
|
if (!r || typeof window > "u") return t;
|
|
9
9
|
try {
|
|
@@ -304,7 +304,7 @@ function ht(e) {
|
|
|
304
304
|
className: b(
|
|
305
305
|
"relative h-full min-h-0 shrink-0 overflow-hidden bg-background",
|
|
306
306
|
"transition-[width,min-width,max-width] duration-[280ms] ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
307
|
-
t
|
|
307
|
+
t ? "z-30 border-r border-[color:oklch(from_var(--border)_l_c_h/0.6)]" : "pointer-events-none z-0"
|
|
308
308
|
),
|
|
309
309
|
style: {
|
|
310
310
|
width: t ? F : 0,
|
|
@@ -319,7 +319,7 @@ function ht(e) {
|
|
|
319
319
|
className: b(
|
|
320
320
|
"h-full min-h-0 overflow-hidden",
|
|
321
321
|
"transition-opacity duration-[200ms] ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
322
|
-
t ? "opacity-100" : "opacity-0"
|
|
322
|
+
t ? "opacity-100" : "invisible pointer-events-none opacity-0"
|
|
323
323
|
),
|
|
324
324
|
children: /* @__PURE__ */ a(z, { id: l, params: e.navParams })
|
|
325
325
|
}
|