@loomcycle/explorer 0.13.0 → 0.16.0
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/DocumentViewer.d.ts +5 -0
- package/dist/components/DocumentChunkTree.d.ts +2 -1
- package/dist/components/StackSplitter.d.ts +17 -0
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +595 -496
- package/dist/index.js.map +1 -1
- package/dist/lib/colorScheme.d.ts +9 -1
- package/dist/styles.css +43 -0
- package/package.json +1 -1
|
@@ -22,5 +22,13 @@ export declare const DEFAULT_SCHEME: ColorScheme;
|
|
|
22
22
|
export declare function effectiveScheme(scheme: ColorScheme | undefined): ColorScheme;
|
|
23
23
|
export declare function docColor(type: string | undefined, status: string | undefined, scheme: ColorScheme): string | undefined;
|
|
24
24
|
export declare function chunkColor(status: string | undefined, scheme: ColorScheme): string | undefined;
|
|
25
|
-
export declare function
|
|
25
|
+
export declare function chunkInheritsDocColor(scheme: ColorScheme): boolean;
|
|
26
|
+
export declare function hexToTint(hex: string, alpha?: number): string | undefined;
|
|
26
27
|
export declare function tintStyle(color: string | undefined): CSSProperties | undefined;
|
|
28
|
+
export declare function washStyle(color: string | undefined): CSSProperties | undefined;
|
|
29
|
+
export declare function chunkRowStyle(opts: {
|
|
30
|
+
status: string | undefined;
|
|
31
|
+
isRoot: boolean;
|
|
32
|
+
documentColor: string | undefined;
|
|
33
|
+
scheme: ColorScheme | null;
|
|
34
|
+
}): CSSProperties | undefined;
|
package/dist/styles.css
CHANGED
|
@@ -208,6 +208,49 @@
|
|
|
208
208
|
background: var(--accent);
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
+
/* StackSplitter: the same handle on its side, between a chunk's text (top)
|
|
212
|
+
and its links (bottom), in the document viewer's content column. */
|
|
213
|
+
.loomcycle-explorer .stack-splitter {
|
|
214
|
+
display: grid;
|
|
215
|
+
flex: 1;
|
|
216
|
+
min-height: 0;
|
|
217
|
+
}
|
|
218
|
+
.loomcycle-explorer .stack-splitter.dragging {
|
|
219
|
+
user-select: none;
|
|
220
|
+
cursor: row-resize;
|
|
221
|
+
}
|
|
222
|
+
.loomcycle-explorer .stack-splitter > .stack-splitter-pane {
|
|
223
|
+
min-height: 0;
|
|
224
|
+
display: flex;
|
|
225
|
+
flex-direction: column;
|
|
226
|
+
overflow: hidden;
|
|
227
|
+
}
|
|
228
|
+
.loomcycle-explorer .stack-splitter > .stack-splitter-handle {
|
|
229
|
+
cursor: row-resize;
|
|
230
|
+
position: relative;
|
|
231
|
+
z-index: 1;
|
|
232
|
+
}
|
|
233
|
+
.loomcycle-explorer .stack-splitter > .stack-splitter-handle::before {
|
|
234
|
+
content: "";
|
|
235
|
+
position: absolute;
|
|
236
|
+
left: 0;
|
|
237
|
+
right: 0;
|
|
238
|
+
top: 2px;
|
|
239
|
+
height: 2px;
|
|
240
|
+
background: var(--border);
|
|
241
|
+
transition: background 80ms ease;
|
|
242
|
+
}
|
|
243
|
+
.loomcycle-explorer .stack-splitter > .stack-splitter-handle:hover::before,
|
|
244
|
+
.loomcycle-explorer .stack-splitter.dragging > .stack-splitter-handle::before {
|
|
245
|
+
background: var(--accent);
|
|
246
|
+
}
|
|
247
|
+
/* The links side scrolls on its own, as the text does above it. */
|
|
248
|
+
.loomcycle-explorer .doc-links-pane {
|
|
249
|
+
flex: 1;
|
|
250
|
+
min-height: 0;
|
|
251
|
+
overflow: auto;
|
|
252
|
+
}
|
|
253
|
+
|
|
211
254
|
/* ============================================================
|
|
212
255
|
Modal base (PromptModal + ChunkEditorModal)
|
|
213
256
|
============================================================ */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loomcycle/explorer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Embeddable React Path VFS + chunked-graph Document browser for the loomcycle agentic runtime (RFC AL / AK) — a themeable, standalone package: a dirent tree with folder/document CRUD and a chunk-tree Document viewer/editor.",
|
|
6
6
|
"license": "Apache-2.0",
|