@ai-ecoverse/slicc-spectrum 1.86.5 → 1.86.6
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 +1 -0
- package/dist/slicc-ui.js +279 -2
- package/dist/slicc-ui.js.map +3 -3
- package/dist/types/app/view-state.d.ts +11 -0
- package/dist/types/components/file-tree.d.ts +9 -0
- package/package.json +3 -3
|
@@ -18,3 +18,14 @@ export declare class ViewSet extends ViewState<ReadonlySet<string>> {
|
|
|
18
18
|
toggle(id: string, open?: boolean): void;
|
|
19
19
|
details(id: string): (event: Event) => void;
|
|
20
20
|
}
|
|
21
|
+
export interface ScrollOptions {
|
|
22
|
+
scroller: () => HTMLElement | null;
|
|
23
|
+
rows?: string;
|
|
24
|
+
current?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare class ViewScroll implements ReactiveController {
|
|
27
|
+
#private;
|
|
28
|
+
constructor(host: ViewHost, key: string, options: ScrollOptions);
|
|
29
|
+
hostUpdated(): void;
|
|
30
|
+
hostDisconnected(): void;
|
|
31
|
+
}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { FileTree, type GitStatusEntry } from '@pierre/trees';
|
|
2
2
|
export type { GitStatusEntry };
|
|
3
|
+
export interface TreeView {
|
|
4
|
+
scroll: number;
|
|
5
|
+
selected: readonly string[];
|
|
6
|
+
focused: string | null;
|
|
7
|
+
shown: boolean;
|
|
8
|
+
end: boolean;
|
|
9
|
+
}
|
|
3
10
|
export declare class SliccFileTree extends HTMLElement {
|
|
4
11
|
#private;
|
|
5
12
|
static loaded: boolean;
|
|
@@ -12,6 +19,8 @@ export declare class SliccFileTree extends HTMLElement {
|
|
|
12
19
|
set gitStatus(value: readonly GitStatusEntry[]);
|
|
13
20
|
get expanded(): readonly string[];
|
|
14
21
|
set expanded(value: readonly string[]);
|
|
22
|
+
get view(): TreeView;
|
|
23
|
+
set view(value: TreeView);
|
|
15
24
|
get tree(): FileTree | null;
|
|
16
25
|
connectedCallback(): void;
|
|
17
26
|
disconnectedCallback(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-spectrum",
|
|
3
|
-
"version": "1.86.
|
|
3
|
+
"version": "1.86.6",
|
|
4
4
|
"description": "Web components for SLICC on Spectrum Web Components: the terminal, the app shell and its surfaces",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@adobe/spectrum-wc": "2.0.0-beta.5",
|
|
75
75
|
"@adobe/spectrum-wc-icons": "2.0.0-beta.5",
|
|
76
|
-
"@ai-ecoverse/slicc-kernel": "1.124.
|
|
77
|
-
"@ai-ecoverse/slicc-shared-web": "1.
|
|
76
|
+
"@ai-ecoverse/slicc-kernel": "1.124.13",
|
|
77
|
+
"@ai-ecoverse/slicc-shared-web": "1.24.0",
|
|
78
78
|
"@ai-ecoverse/slicc-vault": "1.9.2",
|
|
79
79
|
"@ai-ecoverse/wasm-bash": "5.3.0-19",
|
|
80
80
|
"@ai-ecoverse/wasm-coreutils": "9.12.0-9",
|