@ai-ecoverse/slicc-spectrum 1.99.2 → 1.100.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.
@@ -2,8 +2,10 @@ import '@adobe/spectrum-wc/components/action-button/swc-action-button.js';
2
2
  import '@adobe/spectrum-wc/components/badge/swc-badge.js';
3
3
  import '@adobe/spectrum-wc/components/button/swc-button.js';
4
4
  import '@adobe/spectrum-wc/components/dropzone/swc-dropzone.js';
5
+ import '@adobe/spectrum-wc/components/illustrated-message/swc-illustrated-message.js';
5
6
  import '@adobe/spectrum-wc/components/tooltip/swc-tooltip.js';
6
7
  import '@adobe/spectrum-wc/patterns/ai-toolkit/conversation-thread/swc-conversation-thread.js';
8
+ import '@adobe/spectrum-wc-icons/swc-icon-attach.js';
7
9
  import '@adobe/spectrum-wc-icons/swc-icon-chevron-down.js';
8
10
  import '@adobe/spectrum-wc-icons/swc-icon-new.js';
9
11
  import { type TemplateResult } from 'lit';
@@ -28,6 +30,7 @@ export declare class SliccChat extends ThemedElement {
28
30
  state: boolean;
29
31
  };
30
32
  };
33
+ static leaveAfter: number;
31
34
  agent: string;
32
35
  dropping: boolean;
33
36
  compact: boolean;
@@ -37,6 +37,7 @@ export interface Popup {
37
37
  index: number;
38
38
  }
39
39
  export declare function readFile(file: Blob): Promise<string>;
40
+ export declare function folders(transfer: DataTransfer | null): Set<File>;
40
41
  export declare const linger = 60000;
41
42
  export declare const fade: import("lit").CSSResult;
42
43
  export declare function release(attachments: readonly Attachment[]): void;
@@ -107,10 +108,11 @@ export declare class SliccComposer extends ThemedElement {
107
108
  disconnectedCallback(): void;
108
109
  protected updated(changed: Map<string, unknown>): void;
109
110
  protected subscribe(model: SliccModel): Array<() => void>;
111
+ attachable(): boolean;
110
112
  focus(): void;
111
113
  restore(message: Outgoing): void;
112
114
  send(mode?: SendMode): void;
113
- addFiles(files: readonly File[]): Promise<void>;
115
+ addFiles(files: readonly File[], dropped?: ReadonlySet<File>): Promise<void>;
114
116
  detach(id: string): void;
115
117
  screenshot(): Promise<void>;
116
118
  attachPath(path: string): Promise<void>;
@@ -1,3 +1,7 @@
1
1
  import { type TemplateResult } from 'lit';
2
- export declare function markdown(text: string): TemplateResult;
2
+ export interface MarkdownOptions {
3
+ strict?: boolean;
4
+ level?: number;
5
+ }
6
+ export declare function markdown(text: string, options?: MarkdownOptions): TemplateResult;
3
7
  export declare const markdownCss: import("lit").CSSResult;
@@ -1,12 +1,22 @@
1
+ import '@adobe/spectrum-wc/components/badge/swc-badge.js';
1
2
  import '@adobe/spectrum-wc/components/button/swc-button.js';
2
3
  import '@adobe/spectrum-wc/components/divider/swc-divider.js';
3
4
  import '@adobe/spectrum-wc/components/progress-bar/swc-progress-bar.js';
4
5
  import '@adobe/spectrum-wc/components/status-light/swc-status-light.js';
5
6
  import '@adobe/spectrum-wc-icons/swc-icon-alert-triangle.js';
6
7
  import { type TemplateResult } from 'lit';
7
- import type { PackageAction, PackageItem, SliccModel, UpdateAction, UpdateItem, UpdatesPort } from '../model/types.js';
8
+ import type { PackageAction, PackageItem, SliccModel, UpdateAction, UpdateItem, UpdateRelease, UpdatesPort } from '../model/types.js';
8
9
  import { ModelElement } from './base.js';
9
10
  export declare function requiresText(item: PackageItem, all: readonly PackageItem[]): string | null;
11
+ export declare const notesLimit = 8192;
12
+ interface Notes {
13
+ release: UpdateRelease;
14
+ body: string;
15
+ certified: boolean;
16
+ cut: boolean;
17
+ }
18
+ export declare function releaseNotes(release: UpdateRelease): Notes;
19
+ export declare function whatsNew(releases: readonly UpdateRelease[] | undefined, from: string | null, to: string | null): readonly Notes[];
10
20
  type Failures = ReadonlyMap<string, string>;
11
21
  export declare function updatesStatus(items: readonly UpdateItem[]): string | null;
12
22
  export declare class UpdateVisibility {
@@ -679,6 +679,11 @@ export interface InstallProgress {
679
679
  total: number;
680
680
  };
681
681
  }
682
+ export interface UpdateRelease {
683
+ version: string;
684
+ url: string;
685
+ notes?: string;
686
+ }
682
687
  export interface UpdateItem {
683
688
  id: string;
684
689
  label: string;
@@ -691,6 +696,7 @@ export interface UpdateItem {
691
696
  error: string | null;
692
697
  actions: readonly UpdateAction[];
693
698
  log?: string;
699
+ releases?: readonly UpdateRelease[];
694
700
  }
695
701
  export type PackageState = 'available' | 'queued' | 'installing' | 'installed' | 'outdated' | 'updating' | 'removing' | 'failed';
696
702
  export type PackageAction = 'install' | 'update' | 'remove' | 'retry' | 'unpin';
@@ -724,6 +730,7 @@ export interface PackageItem {
724
730
  log?: string;
725
731
  origin?: 'catalog' | 'user';
726
732
  pin?: PackagePin;
733
+ releases?: readonly UpdateRelease[];
727
734
  installs?: readonly PackageInstall[];
728
735
  }
729
736
  export interface UpdatesEvents {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-spectrum",
3
- "version": "1.99.2",
3
+ "version": "1.100.0",
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.132.1",
77
- "@ai-ecoverse/slicc-shared-web": "1.25.1",
76
+ "@ai-ecoverse/slicc-kernel": "1.133.0",
77
+ "@ai-ecoverse/slicc-shared-web": "1.25.2",
78
78
  "@ai-ecoverse/slicc-vault": "1.9.2",
79
79
  "@ai-ecoverse/wasm-bash": "5.3.0-21",
80
80
  "@ai-ecoverse/wasm-coreutils": "9.12.0-10",